private void editContentsBtn_Click(object sender, System.EventArgs e) { if (IsEmptyTable()) return; ContainerItem dlg = new ContainerItem(GetHeaderRow().ContID,0); dlg.ShowDialog(); }
public void CreateContainerForm(int contID, int contBundleID) { try { if (!PreCreation()) return; Form f = new ContainerItem(contID, contBundleID); FinishCreation(f); } catch (Exception ex) { MessageBox.Show(ex.Message); } }