private void SetPageState() { int amountInt = int.Parse(mamountTextBox.Text); mFormPageState.AmountContribution = amountInt.ToString("0.00"); SavePageState(); } public struct FormPageState { public int amountInt; public string AmountContribution; }
mAmountLabel.Text = s.AmountContribution;