public StudentGuidanceUpdate(CommonExchange.SysAccess userInfo, CommonExchange.Student studentInfo, StudentLogic studentManager) : base(userInfo) { this.InitializeComponent(); _userInfo = userInfo; _studentInfo = studentInfo; _studentInfo.ObjectState = System.Data.DataRowState.Modified; _studentInfoTemp = (CommonExchange.Student)_studentInfo.Clone(); _studentManager = studentManager; _errProvider = new ErrorProvider(); this.txtStudentOtherInformation.Validated += new EventHandler(txtStudentOtherInformationValidated); this.FormClosing += new FormClosingEventHandler(ClassClosing); this.chkForm138.CheckedChanged += new EventHandler(chkForm138CheckedChanged); this.chkHonorableDismissal.CheckedChanged += new EventHandler(chkHonorableDismissalCheckedChanged); this.chkTranscriptOfRecords.CheckedChanged += new EventHandler(chkTranscriptOfRecordsCheckedChanged); this.chkGoodMoral.CheckedChanged += new EventHandler(chkGoodMoralCheckedChanged); this.chkBirthCertificate.CheckedChanged += new EventHandler(chkBirthCertificateCheckedChanged); this.chkMarriageContract.CheckedChanged += new EventHandler(chkMarriageContractCheckedChanged); this.chkPhoto.CheckedChanged += new EventHandler(chkPhotoCheckedChanged); this.chkNCAE.CheckedChanged += new EventHandler(chkNCAECheckedChanged); this.btnClose.Click += new EventHandler(btnCloseClick); this.btnUpdate.Click += new EventHandler(btnUpdateClick); }
public IdentificationStudentUpdate(CommonExchange.SysAccess userInfo, CommonExchange.Student studentInfo, IdentificationLogic identificationManager) : base(userInfo, identificationManager) { this.InitializeComponent(); _studentInfo = studentInfo; _studentInfoTemp = (CommonExchange.Student)studentInfo.Clone(); this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(IdentificationStudentUpdateFormClosing); this.btnClose.Click += new EventHandler(btnCloseClick); this.btnUpdate.Click += new EventHandler(btnUpdateClick); if (!String.IsNullOrEmpty(_studentInfo.PersonInfo.FilePath)) { this.pbxPhoto.Image = Image.FromFile(_studentInfo.PersonInfo.FilePath); } }
public StudentCashierUpdate(CommonExchange.SysAccess userInfo, CommonExchange.Student studentInfo, StudentLogic studentManager, Boolean isForRegistrar, Boolean fromCashiering, ref DataTable studentTable) : base(userInfo, studentManager, isForRegistrar) { this.InitializeComponent(); _studentInfo = studentInfo; _studentInfo.ObjectState = System.Data.DataRowState.Modified; _studentInfoTemp = (CommonExchange.Student)_studentInfo.Clone(); _fromCashiering = fromCashiering; _studentTable = studentTable; this.FormClosing += new FormClosingEventHandler(StudentCashierUpdateFormClosing); this.btnClose.Click += new EventHandler(btnCloseClick); this.btnUpdate.Click += new EventHandler(btnUpdateClick); }