示例#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();
     }
 }