Пример #1
0
        private void loadDangNhap()
        {
            Form f = isActive(typeof(frmDangNhap));

            if (f == null)
            {
                frmDangNhap fDangNhap = new frmDangNhap();
                //fDangNhap.MdiParent = this;
                fDangNhap.Show();
            }
            else
            {
                f.Activate();
            }
        }
        private void btnCancel_Click(object sender, EventArgs e)
        {
            frmDangNhap fDangNhap = new frmDangNhap();

            fDangNhap.Show();
        }