예제 #1
0
        void addStudentButton_Click(object sender, EventArgs e)
        {
            Form addStudentForm = new AddStudentForm(this.ctrl);

            //addStudentForm.ShowDialog();
            if (addStudentForm.ShowDialog() == DialogResult.Yes)
            {
                this.listView.Items.Clear();
                this.fillListView();
            }
        }
예제 #2
0
파일: HomeForm.cs 프로젝트: csergiu/Labs
 void addStudentButton_Click(object sender, EventArgs e)
 {
     Form addStudentForm = new AddStudentForm(this.ctrl);
     //addStudentForm.ShowDialog();
     if (addStudentForm.ShowDialog() == DialogResult.Yes)
     {
         this.listView.Items.Clear();
         this.fillListView();
     }
 }