private void ListVouchersBtn_Click(object sender, EventArgs e) { ListVouchers aListVouchers = new ListVouchers(); aListVouchers.Show(); aListVouchers.MdiParent = this; UpdateMain(); }
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); } }
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); } }