Esempio n. 1
0
        private void ListBillsBtn_Click(object sender, EventArgs e)
        {
            ListBills aListBills = new ListBills();

            aListBills.Show();
            aListBills.MdiParent = this;
            UpdateMain();
        }
Esempio n. 2
0
 private void ListBillsRibnBtn_Click(object sender, EventArgs e)
 {
     if (PrivilegesManager.GetEventStatues(Calcium_RMS.Events.ListBills) == EventStatus.Permit)
     {
         ListBills aListBills = new ListBills();
         __AddTabPage(aListBills, __POSColor);
     }
     else
     {
         MessageBox.Show(MsgTxt.PrivUserNotAllowedTxt, MsgTxt.InformationCaption, MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
Esempio n. 3
0
 private void ListBillsBtn_Click(object sender, EventArgs e)
 {
     if (PrivilegesManager.GetEventStatues(Calcium_RMS.Events.ListBills) == EventStatus.Permit)
     {
         ListBills aListBills = new ListBills();
         aListBills.Show();
         //  aListBills.MdiParent = Helper.Instance.ActiveMainWindow;
         // aListBills.Dock = DockStyle.Fill;
     }
     else
     {
         MessageBox.Show(MsgTxt.PrivUserNotAllowedTxt, MsgTxt.InformationCaption, MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }