Example #1
0
 private void accounting_button_Click(object sender, EventArgs e)
 {
     if (LoginForm.x == "Accountant" || LoginForm.x == "Manager")
     {
         Forms.AccountForm accounting = new Forms.AccountForm();
         accounting.Show();
     }
     else
     {
         MessageBox.Show("Form Access Denied");
     }
 }
Example #2
0
 private void toolStripLabel8_Click(object sender, EventArgs e)
 {
     Forms.AccountForm salesdata = new Forms.AccountForm();
     salesdata.Show();
 }