コード例 #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            this.Hide();
            StockManagement stockManagement = new StockManagement();

            stockManagement.Show();
        }
コード例 #2
0
        private void bunifuFlatButton2_Click(object sender, EventArgs e)
        {
            foreach (Form form in dbFrmContainer.Controls.OfType <Form>().ToArray())
            {
                form.Close();
            }
            StockManagement l = new StockManagement();

            l.TopLevel = false;
            dbFrmContainer.Controls.Add(l);
            l.Show();
        }