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

            frm.Show();
        }
Пример #2
0
        private void btnProduct_Click(object sender, EventArgs e)
        {
            this.Hide();
            frmNewProductEntry frm = new frmNewProductEntry();

            frm.Show();
            //this.Visible = false;
            //dynamic frm = new frmNewProductEntry();
            //frm.ShowDialog();
            //this.Visible = true;
        }