Exemple #1
0
 private void UcControl_OnRowAdded(ucRowTable item)
 {
     try
     {
         AddTable(null);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
Exemple #2
0
 private void UcControl_OnRowDeleted(ucRowTable item)
 {
     try
     {
         panelMain.Controls.Remove(item);
         panelMain.Height -= item.Height;
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }