public void btLessons_Click(object sender, EventArgs e) { var lessonShow = new LessonShow(student); lessonShow.Show(); }
public Form2(LessonShow sender, Student student) { InitializeComponent(); this.student = student; this.lessonShow = sender; }