private void screenBt_Click(object sender, EventArgs e) { ScreenScoreForm screenForm = new ScreenScoreForm(allCourseDT, "all", ""); if (screenForm.ShowDialog() == DialogResult.OK) { allScoreDataGridView.DataSource = screenForm.dv; } }
private void ScreenBt_Click(object sender, EventArgs e) { ScreenScoreForm screenForm = new ScreenScoreForm(courseInfoDT, "one", NameTB.Text); if (screenForm.ShowDialog() == DialogResult.OK) { CourseScoreDataGridView.DataSource = screenForm.dv; } }