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."); } }