May 18, 2017 10:29 AM|Eric Du|LINK
According to your description and this error message(cannot convert type int into uint), I only find this error, I am not clear your other needs and other issue.
About this error, if it is int type, you could use this method to convert the type.
uint u = (uint) (int) obj;
or this easier method:
uint u = Convert.ToUInt32(x);
If you have other needs, please post your description of the needs.