예제 #1
0
 private void viewToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (_userlvl >= 2)
     {
         var viewer = new POSTableViewer(_userlvl, _cmpID, _brhID, _empID);
         viewer.Show();
     }
     else
     {
         MessageBox.Show("Insufficient Access Privileges. Contact your Admin for details.");
     }
 }
예제 #2
0
 private void viewToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (_userlvl >= 2) {
         var viewer = new POSTableViewer(_userlvl, _cmpID, _brhID, _empID);
         viewer.Show();
     }
     else {
         MessageBox.Show("Insufficient Access Privileges. Contact your Admin for details.");
     }
 }