Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (txtOneAZN.Text.Equals("")) txtOneAZN.Text = "0";
- if (txtFiveAZN.Text.Equals("")) txtFiveAZN.Text = "0";
- if (txtTenAZN.Text.Equals("")) txtTenAZN.Text = "0";
- if (txtTwentyAZN.Text.Equals("")) txtTwentyAZN.Text = "0";
- if (txtFiftyAZN.Text.Equals("")) txtFiftyAZN.Text = "0";
- if (txtHundredAZN.Text.Equals("")) txtHundredAZN.Text = "0";
- int money = Int32.Parse(txtOneAZN.Text) + Int32.Parse(txtFiveAZN.Text)*5 + Int32.Parse(txtTenAZN.Text)*10 + Int32.Parse(txtTwentyAZN.Text)*20 + Int32.Parse(txtFiftyAZN.Text)*50 + Int32.Parse(txtHundredAZN.Text)*100;
- txtCurrentAmount.Text = money + "";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement