コード例 #1
0
        private void btBanVe_Click(object sender, EventArgs e)
        {
            Quan_Ly_Ban_Ve qlbv = new Quan_Ly_Ban_Ve();

            this.Visible = false;
            qlbv.ShowDialog();
            this.Close();
        }
コード例 #2
0
        private void btBanVe_Click(object sender, EventArgs e)
        {
            Form frm = Application.OpenForms["Quan_Ly_Ban_Ve"];

            if (frm == null)
            {
                frm = new Quan_Ly_Ban_Ve();
            }
            this.Hide();
            frm.Show();
        }