public static uint ToUInt32(MaskedTextBox tb) { string value = tb.Text; return(Util.ToUInt32(value)); }
private void changePrice(object sender, EventArgs e) { MT_Sell.Text = (Math.Min(Util.ToUInt32(MT_Price) / 10, 0x7FFF) * 10 / 2).ToString(); }