예제 #1
0
        private void керуванняТоварамиToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ItemsForm form = new ItemsForm();

            form.TopLevel  = false;
            form.MdiParent = this;
            form.Show();
        }
예제 #2
0
        private void btnItems_Click(object sender, EventArgs e)
        {
            ItemsForm form = new ItemsForm();

            form.TopLevel  = false;
            form.MdiParent = (MainForm)Parent.Parent;
            form.Show();
            Close();
        }