Ejemplo n.º 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");
     }
 }
Ejemplo n.º 2
0
 private void toolStripLabel8_Click(object sender, EventArgs e)
 {
     Forms.AccountForm salesdata = new Forms.AccountForm();
     salesdata.Show();
 }