Ejemplo n.º 1
0
        private void MoFormDangNhap()
        {
            metroPanel5.Visible = metroPanel6.Visible = metroPanel7.Visible = metroPanel8.Visible = metroPanel10.Visible = metroPanel11.Visible = metroPanel13.Visible = metroPanel14.Visible = metroPanel15.Visible = metroPanel16.Visible = false;
            metroPanel1.Visible = metroPanel2.Visible = true;

            panelTaiKhoan.Visible = false;
            this.WindowState      = FormWindowState.Normal;
            this.Size             = new Size(853, 650);

            FrmDangNhap m_frmDangNhap = FrmDangNhap.Instance;

            m_frmDangNhap.MdiParent = this;
            m_frmDangNhap.Dock      = DockStyle.Fill;
            m_frmDangNhap.Style     = style;
            m_frmDangNhap.Show();
        }
Ejemplo n.º 2
0
 private void FrmDangNhap_FormClosed(object sender, FormClosedEventArgs e)
 {
     _Instance = null;
 }