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

            aListVouchers.Show();
            aListVouchers.MdiParent = this;
            UpdateMain();
        }
Exemplo 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);
     }
 }
Exemplo 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);
     }
 }