Beispiel #1
0
 private void auto_button_Click(object sender, EventArgs e)
 {
     if (LoginForm.x == "AutoStaff" || LoginForm.x == "Manager")
     {
         Forms.autoStaffForm autoForm = new Forms.autoStaffForm();
         this.Hide();
         autoForm.Show();
     }
     else
     {
         MessageBox.Show("Form Access Denied");
     }
 }
Beispiel #2
0
 private void toolStripLabel9_Click(object sender, EventArgs e)
 {
     Forms.autoStaffForm ord = new Forms.autoStaffForm();
     ord.Show();
 }