Exemple #1
0
 private void tsbtnAddAddr_Click(object sender, EventArgs e)
 {
     _addr          = new DeliveryAddr();
     _addr.CustCode = txtCustomerCode.Text;
     _addrMode      = DataActionMode.Add;
     deliveryAddrInfo(_addr, _custMode, _addrMode);
 }
Exemple #2
0
 private void tsbtnEditAddr_Click(object sender, EventArgs e)
 {
     _addrMode = DataActionMode.Edit;
     _addr     = new CustomerDAL().getAddrById(_selectedDeliveryAddrId);
     deliveryAddrInfo(_addr, _custMode, _addrMode);
 }