Пример #1
0
        private void btnUpdateList_Click(object sender, EventArgs e)
        {
            if (editing == false)
            {
                AddPlaceholder();
            }

            CatalogItemScreen cis = new CatalogItemScreen(catalogId, itemId);

            cis.MdiParent = this.MdiParent;
            cis.Show();
        }
Пример #2
0
        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();
        }