Esempio n. 1
0
        /// <summary>
        /// 构造方法
        /// </summary>
        public MainForm()
        {
            InitializeComponent();

            //主窗体容器打开
            this.IsMdiContainer = true;

            this.TitleText = "管理员";

            //实例化子窗体界面
            form1  = TeachersList.GetIntance;
            form2  = StudentList.GetIntance;
            form3  = AddTeacherInformation.GetIntance;
            form4  = AddStudentInformation.GetIntance;
            form5  = HomePage.GetIntance;
            form6  = Notice.GetIntance;
            form7  = CheckNotification.GetIntance;
            form9  = ViewResults.GetIntance;
            form8  = Setting.GetIntance;
            form10 = PersonalCenter.GetIntance;
            form11 = Matching.GetIntance;
            form12 = MatchingFailure.GetIntance;

            //初始化按钮
            this.initButton();
        }
Esempio n. 2
0
 public TeachersList()
 {
     InitializeComponent();
     form1 = AddTeacherInformation.GetIntance;
 }