/// <summary> /// Создание окна для снятия денег со счета клиента /// </summary> public void CreateWithdrawWindow() { if (W.idtext.Text != "") { WithDrawWindow W = new WithDrawWindow(this.W); if (W.ShowDialog() == true) { Repository.Refresh(); MessageBox.Show("The money has been successfully withdraw!"); } } }
public PresenterForWithdraw(WithDrawWindow W) { this.W = W; }