private void btn_Query_Click(object sender, EventArgs e) { CourseStudentListForm stuList = new CourseStudentListForm(); stuList.OpCode = txt_QueryOpCode.Text.Trim(); stuList.ShowDialog(); }
private void appendCourseMenuItem_LookupStuList_Click(object sender, EventArgs e) { string opcode = listView_Appends.SelectedItems[0].SubItems[2].Text; CourseStudentListForm stuList = new CourseStudentListForm(); stuList.OpCode = opcode; stuList.ShowDialog(); }