Esempio n. 1
0
 private void frmMain_Load(object sender, EventArgs e)
 {
     if (loginForm == null)
     {
         loginForm = new GUI.frmLogin();
     }
     else
     {
         loginForm.Activate();
     }
 }
Esempio n. 2
0
 private void đăngNhậpToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (loginForm == null)
     {
         loginForm = new GUI.frmLogin();
     }
     else
     {
         loginForm.Activate();
     }
     DoLogin();
     this.tsslblAcc.Text = "Tài Khoản: " + Program.userName;
 }