public AuxiliarySearchOnTextboxList(CommonExchange.SysAccess userInfo, AuxiliaryServiceLogic auxiliaryManager) { _userInfo = userInfo; _auxiliaryManager = auxiliaryManager; this.pbxRefresh.Click += new EventHandler(pbxRefreshClick); }
public Service(CommonExchange.SysAccess userInfo, AuxiliaryServiceLogic auxiliaryInfoManager) { this.InitializeComponent(); _userInfo = userInfo; _auxiliaryManager = auxiliaryInfoManager; _errProvider = new ErrorProvider(); this.Load += new EventHandler(ClassLoad); this.lnkOtherInfo.LinkClicked += new LinkLabelLinkClickedEventHandler(lnkOtherInfoLinkClicked); this.cboCourseGroup.SelectedIndexChanged += new EventHandler(cboServiceGroupSelectedIndexChanged); this.cboDepartment.SelectedIndexChanged += new EventHandler(cboDepartmentSelectedIndexChanged); this.txtCode.Validated += new EventHandler(txtCodeValidated); this.txtTitle.Validated += new EventHandler(txtTitleValidated); this.optUnits.CheckedChanged += new EventHandler(UnitHoursCheckedChange); this.optHours.CheckedChanged += new EventHandler(UnitHoursCheckedChange); this.txtLecture.KeyPress += new KeyPressEventHandler(UnitsKeyPress); this.txtLecture.Validating += new System.ComponentModel.CancelEventHandler(UnitsValidating); this.txtLecture.Validated += new EventHandler(txtLectureValidated); this.txtLaboratory.KeyPress += new KeyPressEventHandler(UnitsKeyPress); this.txtLaboratory.Validating += new System.ComponentModel.CancelEventHandler(UnitsValidating); this.txtLaboratory.Validated += new EventHandler(txtLaboratoryValidated); this.hrmHours.Validated += new EventHandler(hrmHoursValidated); }
//####################################################CLASS AuxiliaryInformationManager EVENTS############################################### //event is raised when the class is loaded private void ClassLoad(object sender, EventArgs e) { try { if (!(RemoteServerLib.ProcStatic.IsSystemAccessAdmin(_userInfo) || RemoteServerLib.ProcStatic.IsSystemAccessVpOfAcademicAffairs(_userInfo) || RemoteServerLib.ProcStatic.IsSystemAccessSecretaryOftheVpOfAcademicAffairs(_userInfo))) { throw new Exception("You are not authorized to access this module."); } _auxiliaryManager = new AuxiliaryServiceLogic(_userInfo); _frmAuxiliaryInfoSearch = new AuxiliaryInformationSearchList(); _frmAuxiliaryInfoSearch.OnDoubleClickEnter += new SearchListDataGridDoubleClickEnter(_frmAuxiliaryInfoSearchOnDoubleClickEnter); _frmAuxiliaryInfoSearch.OnCreate += new AuxiliaryInformationSearchListLinkCreateClick(_frmAuxiliaryInfoSearchOnCreate); _frmAuxiliaryInfoSearch.LocationPoint = new Point(20, 300); _frmAuxiliaryInfoSearch.AdoptGridSize = true; _frmAuxiliaryInfoSearch.MdiParent = this; lblRecordDate.Text = "Record Date: " + DateTime.Parse(_auxiliaryManager.ServerDateTime).ToString(); } catch (Exception ex) { RemoteClient.ProcStatic.ShowErrorDialog("\n" + ex.Message, "Error Authenticating"); this.Close(); } }//------------------------------
public AuxiliaryScheduleCreate(CommonExchange.SysAccess userInfo, AuxiliaryServiceLogic auxiliaryManager) : base(userInfo, auxiliaryManager) { this.InitializeComponent(); this.FormClosing += new FormClosingEventHandler(ClassClossing); this.btnCancel.Click += new EventHandler(btnCancelClick); this.btnCreate.Click += new EventHandler(btnCreateClick); }
public AuxiliaryScheduleUpdate(CommonExchange.SysAccess userInfo, CommonExchange.AuxiliaryServiceSchedule serviceInfoSchedule, AuxiliaryServiceLogic auxiliaryManager) : base(userInfo, auxiliaryManager) { this.InitializeComponent(); _serviceInfoSchedule = serviceInfoSchedule; _serviceInfoScheduleTemp = (CommonExchange.AuxiliaryServiceSchedule)serviceInfoSchedule.Clone(); this.FormClosing += new FormClosingEventHandler(ClassClosing); this.btnClose.Click += new EventHandler(btnCloseClick); this.btnUpdate.Click += new EventHandler(btnUpdateClick); this.btnDelete.Click += new EventHandler(btnDeleteClick); }
public AuxiliaryServiceUpdate(CommonExchange.SysAccess userInfo, CommonExchange.AuxiliaryServiceInformation serviceInfo, AuxiliaryServiceLogic auxiliaryInfoManager) : base(userInfo, auxiliaryInfoManager) { this.InitializeComponent(); _userInfo = userInfo; _serviceInfo = serviceInfo; _serviceInfoTemp = (CommonExchange.AuxiliaryServiceInformation)serviceInfo.Clone(); _auxiliaryManager = auxiliaryInfoManager; this.FormClosing += new FormClosingEventHandler(ClassClosing); this.btnClose.Click += new EventHandler(btnCloseClick); this.btnUpdate.Click += new EventHandler(btnUpdateClick); }
public AuxiliarySchedule(CommonExchange.SysAccess userInfo, AuxiliaryServiceLogic auxiliaryInfoManager) { this.InitializeComponent(); _userInfo = userInfo; _auxiliaryManager = auxiliaryInfoManager; _errProvider = new ErrorProvider(); this.Load += new EventHandler(ClassLoad); this.cboYearSemester.SelectedIndexChanged += new EventHandler(cboYearSemesterSelectedIndexChanged); this.btnSearchAuxiliary.Click += new EventHandler(btnSearchAuxiliaryClick); this.lnkAddDetails.LinkClicked += new LinkLabelLinkClickedEventHandler(lnkAddDetailsLinkClicked); this.dgvAuxiliaryDetails.MouseDown += new MouseEventHandler(dgvAuxiliaryDetailsMouseDown); this.dgvAuxiliaryDetails.DoubleClick += new EventHandler(dgvAuxiliaryDetailsDoubleClick); this.chkFixedAmount.CheckedChanged += new EventHandler(chkFixedAmountCheckedChanged); this.txtFixedAmount.KeyPress += new KeyPressEventHandler(txtFixedAmountKeyPress); this.txtFixedAmount.Validating += new System.ComponentModel.CancelEventHandler(txtFixedAmountValidating); this.txtFixedAmount.Validated += new EventHandler(txtFixedAmountValidated); }
public AuxiliaryScheduleDetails(CommonExchange.SysAccess userInfo, CommonExchange.AuxiliaryServiceSchedule serviceInfoSchedule, AuxiliaryServiceLogic auxiliaryManager) { this.InitializeComponent(); _userInfo = userInfo; _serviceInfoSchedule = serviceInfoSchedule; _auxiliaryManager = auxiliaryManager; _errProvider = new ErrorProvider(); this.Load += new EventHandler(ClassLoad); this.optUnits.CheckedChanged += new EventHandler(optUnitsHoursCheckedChanged); this.optHours.CheckedChanged += new EventHandler(optUnitsHoursCheckedChanged); this.txtLecture.KeyPress += new KeyPressEventHandler(UnitsKeyPress); this.txtLaboratory.KeyPress += new KeyPressEventHandler(UnitsKeyPress); this.txtLecture.Validating += new System.ComponentModel.CancelEventHandler(UnitsValidating); this.txtLaboratory.Validating += new System.ComponentModel.CancelEventHandler(UnitsValidating); this.txtLecture.Validated += new EventHandler(txtLectureValidated); this.txtLaboratory.Validated += new EventHandler(txtLaboratoryValidated); this.hrmHours.Validated += new EventHandler(hrmHoursValidated); }