예제 #1
0
        //############################################CLASS SpecialClass EVENTS#######################################################
        //event is raised when the class is loaded
        protected virtual void ClassLoad(object sender, EventArgs e)
        {
            if (_specialManager.MustOpenSchoolYearSemester())
            {
                RemoteClient.ProcStatic.ShowErrorDialog("Please open another school year / semester before creating a new special class.",
                                                        "Error Creating A Special Class");

                _hasErrors = true;

                this.Close();
            }

            _specialInfo = new CommonExchange.SpecialClassInformation();

            this.cboYearSemester.Enabled = false;
            this.txtAmount.Text          = "0.00";
            this.lblCountEnrolled.Text   = "0 Student";
            this.lblCountWithdrawn.Text  = "0 Student";

            _canWithdraw = RemoteServerLib.ProcStatic.IsSystemAccessCollegeRegistrar(_userInfo) ? false : true;
        } //-------------------------------