Example #1
0
        private void tsbInventory_Click(object sender, EventArgs e)
        {
            FrmInventory frmInventory = new FrmInventory();

            frmInventory.MdiParent = this;
            frmInventory.Show();
        }
        private void LoadInventory()
        {
            FrmInventory inventory = new FrmInventory();

            inventory.MdiParent = this.MdiParent;
            inventory.Show();
            this.Hide();
        }
        private void button2_Click(object sender, EventArgs e)
        {
            FrmInventory inventory = new FrmInventory();

            inventory.MdiParent = this.MdiParent;
            inventory.Show();
            this.Hide();
        }