private void btnGet_Click(object sender, EventArgs e) { Object[] ArrayOfObjects3 = new Object[5]; ArrayOfObjects3 = CourseUpdate1.GetCourse(); txtO_NOC.Text = (string)ArrayOfObjects3[0].ToString(); txtO_FLN.Text = (string)ArrayOfObjects3[1]; txtO_CSD.Text = (string)ArrayOfObjects3[2]; txtO_Course.Text = (string)ArrayOfObjects3[3]; txtO_CM.Text = (string)ArrayOfObjects3[4]; }
private void btnSet_Click(object sender, EventArgs e) { CourseUpdate1.SetCourse(txtNOC.Text, txtFLN.Text, mcCSD.SelectionStart.ToShortDateString(), coursesComboBox.Text, Mode); }