예제 #1
0
        private void LoadMe(object sender, EventArgs e)
        {
            FeeServiceClient feeService = new FeeServiceClient();
            gradeLevels = new List<GradeLevel>(feeService.GetAllGradeLevels());
            schoolYears = new List<SchoolYear>(feeService.GetLastFiveSY());

            cmbGradeLevel.DataSource = gradeLevels;
            cmbGradeLevel.ValueMember = "GradeLev";
            cmbGradeLevel.DisplayMember = "Description";

            cmbSY.DataSource = schoolYears;
            cmbSY.ValueMember = "SY";
            cmbSY.DisplayMember = "SY";
        }
예제 #2
0
        private void LoadMe(object sender, EventArgs e)
        {
            SubjectAssignmentServiceClient subjectAss = new SubjectAssignmentServiceClient();
            FeeServiceClient feeSer = new FeeServiceClient();

            gradeLevels = new List<ScheduleServiceRef.GradeLevel>(subjectAss.GetAllGradeLevels());
            schoolYears = new List<FeeServiceRef.SchoolYear>(feeSer.GetLastFiveSY());
            sections = new List<GradeSection>(subjectAss.GetAllSections());

            cmbGradeLevel.DataSource = gradeLevels;
            cmbGradeLevel.ValueMember = "GradeLev";
            cmbGradeLevel.DisplayMember = "Description";

            cmbSY.DataSource = schoolYears;
            cmbSY.ValueMember = "SY";
            cmbSY.DisplayMember = "SY";
        }
예제 #3
0
        private void LoadMe()
        {
            FeeServiceClient feeService = new FeeServiceClient();
            ExistingFees = new List<Fee>(feeService.GetAllFees());
            gradeLevels = new List<GradeLevel>(feeService.GetAllGradeLevels());
            schoolYears = new List<SchoolYear>(feeService.GetLastFiveSY());

            cmbGradeLevel.DataSource = gradeLevels;
            cmbGradeLevel.ValueMember = "GradeLev";
            cmbGradeLevel.DisplayMember = "Description";
            cmbSY.DataSource = schoolYears;
            cmbSY.ValueMember = "SY";
            cmbSY.DisplayMember = "SY";

            txtAmount.Text ="0.00";
            txtDescription.Text = String.Empty;
            txtDiscount.Text = "0";
            txtNumPay.Text = "1";
        }