Exemplo n.º 1
0
 private void btnAdd_Click(object sender, EventArgs e)
 {
     try
     {
         cust.Clone();
         SetCustomer();
         Idal.Add(cust); // In memory
                         //Idal.Save(); // Physical commit
         LoadGridInMemory();
         ClearCustomer();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
Exemplo n.º 2
0
 private void dtgGridCustomer_RowEnter(object sender, DataGridViewCellEventArgs e)
 {
     cust = Idal.GetData(e.RowIndex);
     cust.Clone();
     LoadCustomeronUI();
 }
Exemplo n.º 3
0
 public void RowEnter(int rowIndex)
 {
     cust = Idal.GetData(rowIndex);
     cust.Clone();
     ObjecttoUI();
 }