예제 #1
0
        private void ListVouchersBtn_Click(object sender, EventArgs e)
        {
            ListVouchers aListVouchers = new ListVouchers();

            aListVouchers.Show();
            aListVouchers.MdiParent = this;
            UpdateMain();
        }
예제 #2
0
파일: Main2.cs 프로젝트: SariSultan/RMS
 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);
     }
 }
예제 #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);
     }
 }