예제 #1
0
파일: MainForm.cs 프로젝트: kirkae/practice
        private void subStudentList_Click(object sender, EventArgs e)
        {
            bool bl = FormCheck(typeof(StudentListForm).Name);

            if (!bl)                                                            //如果窗体没打开,则创建新窗体,同一窗体只允许打开单个
            {
                StudentListForm studentListForm = new StudentListForm();
                studentListForm.MdiParent = this;
                studentListForm.Show();
            }
        }
예제 #2
0
파일: MainForm.cs 프로젝트: Datngo2001/QLSV
        private void studentListToolStripMenuItem_Click(object sender, EventArgs e)
        {
            StudentListForm studentListForm = new StudentListForm();

            studentListForm.Show();
        }
예제 #3
0
파일: MainForm.cs 프로젝트: Envy-rb/Obsh
        private void StudentButtom_Click(object sender, EventArgs e)
        {
            var form = new StudentListForm();

            form.Show(this);
        }