Exemple #1
0
 private void btnReport_Click(object sender, EventArgs e)
 {
     if (frmLogin.admin==false)
     {
         frmLogin loginForm = new frmLogin();
         loginForm.Show();
     }
     else
     {
         frmReport report = new frmReport();
         report.Show();
     }
 }