private void btnUpdateList_Click(object sender, EventArgs e) { if (editing == false) { AddPlaceholder(); } CatalogItemScreen cis = new CatalogItemScreen(catalogId, itemId); cis.MdiParent = this.MdiParent; cis.Show(); }
private void btnAddItem_Click(object sender, EventArgs e) { //add the catalog as it is so far if its a new Catalog being worked on if (editing == false) { AddPlaceholder(); } CatalogItemScreen cis = new CatalogItemScreen(catalogId); cis.MdiParent = this.MdiParent; cis.Show(); this.Close(); }