Пример #1
0
        private void btnSales_Click(object sender, EventArgs e)
        {
            this.Hide();
            SalesRegister salesRegister = new SalesRegister();

            salesRegister.Show();
        }
Пример #2
0
        private void bunifuFlatButton3_Click(object sender, EventArgs e)
        {
            foreach (Form form in dbFrmContainer.Controls.OfType <Form>().ToArray())
            {
                form.Close();
            }
            SalesRegister l = new SalesRegister();

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