コード例 #1
0
        private void 新建教师ToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            addTeacher frm = new addTeacher();

            frm.ShowDialog();
            frm.Dispose();
        }
コード例 #2
0
        private void button5_Click(object sender, EventArgs e)
        {
            addTeacher frm = new addTeacher();

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