Esempio n. 1
0
        private void ListVouchersBtn_Click(object sender, EventArgs e)
        {
            ListVouchers aListVouchers = new ListVouchers();

            aListVouchers.Show();
            aListVouchers.MdiParent = this;
            UpdateMain();
        }
Esempio n. 2
0
 private void ListVouchersRibnBtn_Click(object sender, EventArgs e)
 {
     if (PrivilegesManager.GetEventStatues(Calcium_RMS.Events.ListVouchers) == EventStatus.Permit)
     {
         ListVouchers aListVouchers = new ListVouchers();
         __AddTabPage(aListVouchers, __PurchaseColor);
     }
     else
     {
         MessageBox.Show(MsgTxt.PrivUserNotAllowedTxt, MsgTxt.InformationCaption, MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
Esempio n. 3
0
 private void ListVouchersBtn_Click(object sender, EventArgs e)
 {
     if (PrivilegesManager.GetEventStatues(Calcium_RMS.Events.ListVouchers) == EventStatus.Permit)
     {
         ListVouchers aListVouchers = new ListVouchers();
         aListVouchers.Show();
         // aListVouchers.MdiParent = Helper.Instance.ActiveMainWindow;
     }
     else
     {
         MessageBox.Show(MsgTxt.PrivUserNotAllowedTxt, MsgTxt.InformationCaption, MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }