private void RemoveBalanceBtn_Click(object sender, EventArgs e) { UserCache.ActualInputAmountState = (int)UserCache.InputAmountState.RemoveError; ChildForms.AmountInput Input = new ChildForms.AmountInput(); Input.ShowDialog(); BalanceAmountLb.Text = Utilities.GetDecimal(UserCache.Account.Amount); }
private void WithdrawBtn_Click(object sender, EventArgs e) { UserCache.ActualInputAmountState = (int)UserCache.InputAmountState.Withdraw; ChildForms.AmountInput Input = new ChildForms.AmountInput(); Input.ShowDialog(); SavingAmountLb.Text = Utilities.GetDecimal(UserCache.Account.Saves); BalanceAmountLb.Text = Utilities.GetDecimal(UserCache.Account.Amount); }