private void butCoursePicker_Click(object sender, EventArgs e) { FormSchoolCourses FormSC = new FormSchoolCourses(); FormSC.IsSelectionMode = true; FormSC.ShowDialog(); if (FormSC.DialogResult == DialogResult.OK) { _evalDefCur.SchoolCourseNum = FormSC.CourseSelected.SchoolCourseNum; textCourse.Text = FormSC.CourseSelected.CourseID; } }
private void menuItemSchoolCourses_Click(object sender, System.EventArgs e) { if(!Security.IsAuthorized(Permissions.Setup)){ return; } FormSchoolCourses FormS=new FormSchoolCourses(); FormS.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Setup,0,"Dental School Courses"); }
private void butCoursePicker_Click(object sender,EventArgs e) { FormSchoolCourses FormSC=new FormSchoolCourses(); FormSC.IsSelectionMode=true; FormSC.ShowDialog(); if(FormSC.DialogResult==DialogResult.OK) { _evalDefCur.SchoolCourseNum=FormSC.CourseSelected.SchoolCourseNum; textCourse.Text=FormSC.CourseSelected.CourseID; } }