flourCalculator(); string digits = new string(flourString.TakeWhile(c => Char.IsDigit(c)).ToArray()); int flourintnumbers; if (Int32.TryParse(digits, out flourintnumbers)) { Console.WriteLine(flourintnumbers); flourintnumbers = flourintnumbers + 10; flourString = flourintnumbers.ToString() + "g"; flourMaskedTextBox.Text = flourString; //is to retrieve text from textbox and convert to integer
this.maskedTextBox1.Text = "1"; this.maskedTextBox1.Mask = "00000kg";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)