public TransferAllClients(string numCsh, string numCl, string status) { InitializeComponent(); num = numCsh; p = new PresenterTransferClAcc(this); InitializeComponent(); Sum_Transfer.PreviewKeyDown += (s, e) => p.Validation(e, s); Bt_trans.Click += (s, e) => p.Trans(); this.Loaded += (s, e) => p.Loader(); TBx_Selected_Acc.LostFocus += (s, e) => p.Verify(); }
public TransferClientsAccounts_Win(string numCsh, string numCl, string status) { num = numCsh; p = new PresenterTransferClAcc(this); InitializeComponent(); Sum_Transfer.PreviewKeyDown += (s, e) => p.Validation(e, s); Bt_trans.Click += (s, e) => p.Trans(); this.Loaded += (s, e) => p.Loader(); Combo_Selected_Acc.ItemsSource = p.CashList(numCl, status); Combo_Selected_Acc.DropDownClosed += (s, e) => p.TakeFinance(); }