예제 #1
0
        private void btnAddPayee_Click(object sender, EventArgs e)
        {
            Form frm = new frmAddEditPayee(MethodType.Add, null);

            frm.ShowDialog();
            ((LoadAddEditPO)purchaseOrder).LoadPayees();
        }
예제 #2
0
        private void btnNew_Click(object sender, EventArgs e)
        {
            frmAddEditPayee frm = new frmAddEditPayee(MethodType.Add, null);

            frm.ShowDialog();
            Init();
        }
예제 #3
0
 private void PayeeGridView_DoubleClick(object sender, EventArgs e)
 {
     if (PayeeGridView.GetFocusedRow() is Payees item)
     {
         frmAddEditPayee frm = new frmAddEditPayee(MethodType.Edit, item);
         frm.ShowDialog();
         Init();
     }
 }
예제 #4
0
 private void btnEditRepo_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
 {
     if (PayeeGridView.GetFocusedRow() is Payees item)
     {
         frmAddEditPayee frm = new frmAddEditPayee(MethodType.Edit, item);
         frm.ShowDialog();
         Init();
     }
 }