Ejemplo n.º 1
0
 private void ListVendorsRibnBtn_Click(object sender, EventArgs e)
 {
     if (PrivilegesManager.GetEventStatues(Calcium_RMS.Events.ListVendors) == EventStatus.Permit)
     {
         ListVendors aListVendor = new ListVendors();
         __AddTabPage(aListVendor, __VendorsColor);
     }
     else
     {
         MessageBox.Show(MsgTxt.PrivUserNotAllowedTxt, MsgTxt.InformationCaption, MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
Ejemplo n.º 2
0
 private void ListVendorsBtn_Click(object sender, EventArgs e)
 {
     if (PrivilegesManager.GetEventStatues(Calcium_RMS.Events.ListVendors) == EventStatus.Permit)
     {
         ListVendors aListVendors = new ListVendors();
         // aListVendors.MdiParent = Helper.Instance.ActiveMainWindow;
         aListVendors.Show();
     }
     else
     {
         MessageBox.Show(MsgTxt.PrivUserNotAllowedTxt, MsgTxt.InformationCaption, MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }