Esempio n. 1
0
 private void makeASaleToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (PrivilegesManager.GetEventStatues(Calcium_RMS.Events.POS) == EventStatus.Permit)
     {
         POS aPOS = new POS();
         //   aPOS.MdiParent = Helper.Instance.ActiveMainWindow;
         aPOS.Visible = false;
         aPOS.Activate();
         // aPOS.Show();
         aPOS.Visible = true;
     }
     else
     {
         MessageBox.Show(MsgTxt.PrivUserNotAllowedTxt, MsgTxt.InformationCaption, MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }