コード例 #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);
     }
 }
コード例 #2
0
 private void dtgGridCustomer_RowEnter(object sender, DataGridViewCellEventArgs e)
 {
     cust = Idal.GetData(e.RowIndex);
     cust.Clone();
     LoadCustomeronUI();
 }
コード例 #3
0
 public void RowEnter(int rowIndex)
 {
     cust = Idal.GetData(rowIndex);
     cust.Clone();
     ObjecttoUI();
 }