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