Beispiel #1
0
        private void MainForm_Load(object sender, EventArgs e)
        {
            form_Database = new Form_Database();
            form_Database.Show(dockPanel1, DockState.DockLeft);

            form_Home = new Form_Home();
            form_Home.Show(dockPanel1);
            form_Home.Activate();
        }
Beispiel #2
0
        /// <summary>
        /// 显示起始页
        /// </summary>
        public void ShowHome()
        {
            if (form_Home == null)
            {
                form_Home = new Form_Home();
                form_Home.Show(dockPanel1);
            }

            form_Home.Activate();
        }