コード例 #1
0
        private void frmHome_Load(object sender, EventArgs e)
        {
            pnlLeft.Width = 45;

            HienThi(0); // Quyền là khách

            frmDangNhap dn = new frmDangNhap();

            dn.MdiParent = this;
            dn.Run_MAIN  = new frmDangNhap.RunMAIN(HienThi);
            dn.ShowIcon  = false;
            dn.Dock      = DockStyle.Fill;
            dn.Show();
        }