private void btnStudentIDLookup_Click(object sender, EventArgs e)
        {
            using (frmStudentLookup studentLookup = new frmStudentLookup(txtStudentNo.Text))
            {
                studentLookup.ShowDialog();

                txtStudentNo.Text = studentLookup.GetCustomerNumber();
            }
        }
예제 #2
0
        private void btnStudentIDLookup_Click(object sender, EventArgs e)
        {
            using (frmStudentLookup studentLookup = new frmStudentLookup(txtStudentNo.Text))
            {
                studentLookup.ShowDialog();

                txtStudentNo.Text = studentLookup.GetCustomerNumber();
            }
        }
예제 #3
0
        private void btnStudentIDLookup_Click(object sender, EventArgs e)
        {
            if (txtAssessmentNo.Text.Trim().Length > 0)
            {
                using (frmStudentLookup studentLookup = new frmStudentLookup(txtStudentID.Text))
                {
                    studentLookup.ShowDialog();

                    studentID = studentLookup.GetCustomerNumber();
                }

                txtStudentID.Text = studentID;

                assess();
            }
            else
            {
                Prompt.ShowError("Please enter a document number.");
                txtAssessmentNo.Focus();
            }
        }
예제 #4
0
        private void btnStudentIDLookup_Click(object sender, EventArgs e)
        {
            if (txtAssessmentNo.Text.Trim().Length > 0)
            {
                using (frmStudentLookup studentLookup = new frmStudentLookup(txtStudentID.Text))
                {
                    studentLookup.ShowDialog();

                    studentID = studentLookup.GetCustomerNumber();
                }

                txtStudentID.Text = studentID;

                assess();
            }
            else
            {
                Prompt.ShowError("Please enter a document number.");
                txtAssessmentNo.Focus();
            }
        }