Пример #1
0
 /// <summary>
 /// @author : TrungMT
 /// @CreateDate:04/03/2008
 /// @Description: Process update button click event
 /// </summary>
 private void mbtnUpdate_Click(object sender, EventArgs e)
 {
     if (mdgrCustomer.CurrentRow == null)
         return;
     FrmCustomerItem frmCustomerItem = new FrmCustomerItem(this, GetCurrentCustomer());
     frmCustomerItem.ShowDialog();
 }
Пример #2
0
 /// <summary>
 /// @author : TrungMT
 /// @CreateDate:04/03/2008
 /// @Description: Process add button click event
 /// </summary>
 private void mbtnAdd_Click(object sender, EventArgs e)
 {
     FrmCustomerItem frmCustomerItem = new FrmCustomerItem(this);
     frmCustomerItem.ShowDialog();
 }