private void frmViewAppointment_Load(object sender, EventArgs e) { selectClass.callSchedule(dataGridView1); }