Beispiel #1
0
 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);
 }
Beispiel #2
0
 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);
 }