Beispiel #1
0
        private void bSubmit_Click_1(object sender, EventArgs e)
        {
            bool status = false;
            f_ScheduleAppointment app = this;
            validationOfForms     val = new validationOfForms();

            status = val.validateAppointmentForm(app, tMRN.Text, cDate.Text, cMonth.Text, cYear.Text, cHour.Text, cMinutes.Text, cAmOrPm.Text);
            if (!(status))
            {
                manAll.Show();
                manDate.Show();
                manMrn.Show();
                manTime.Show();
                MessageBox.Show("Please fill up all the required information");
            }
        }