public AddEditStudentForm(string GroupName, AutoschoolDataSet.StudentsDataTable studentsDataTable, AutoschoolDataSet.GroupsDataTable groupsDataTable, AutoschoolDataSet.InstructorsDataTable instructorsDataTable, DataRow row) { InitializeComponent(); NameOfGroup = GroupName; this.studentsDataTable = studentsDataTable; this.groupsDataTable = groupsDataTable; this.instructorsDataTable = instructorsDataTable; dataRow = row; }
public AddEditPracticeLessonForm(AutoschoolDataSet.PracticeLessonsDataTable practiceLessonsDataTable, AutoschoolDataSet.StudentsDataTable studentsDataTable, DataRow SelectedStudent, DataRow row) { InitializeComponent(); this.practiceLessonsDataTable = practiceLessonsDataTable; this.studentsDataTable = studentsDataTable; this.SelectedStudent = SelectedStudent; dataRow = row; }