Example #1
0
        private void 新建学生ToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            addStudent frm = new addStudent();

            frm.ShowDialog();
            frm.Dispose();
        }
Example #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            addStudent frm = new addStudent();

            frm.ShowDialog();
            frm.Dispose();
        }