예제 #1
0
        private void btnDangXuatHeThong_Click(object sender, EventArgs e)
        {
            frm_Login frm = new frm_Login();

            frm.Show();
            this.Hide();
        }
예제 #2
0
        private void đăngXuấtToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Close();
            this.Hide();
            frm_Login login = new frm_Login();

            login.ShowDialog();
        }
예제 #3
0
 public frm_Main(frm_Login frmlgn, List <int> rl)
 {
     InitializeComponent();
     this.label1.BackColor      = System.Drawing.Color.Transparent;
     this.label1.Parent         = this;
     this.label2.BackColor      = System.Drawing.Color.Transparent;
     this.label2.Parent         = this;
     this.label3.BackColor      = System.Drawing.Color.Transparent;
     this.label3.Parent         = this;
     this.pictureBox1.BackColor = System.Drawing.Color.Transparent;
     this.pictureBox1.Parent    = this;
     frmlogin = frmlgn;
     roles    = rl;
 }