예제 #1
0
        private void Home_Load(object sender, EventArgs e)
        {
            form_Database = new Form_Database();
            form_Database.Show(dockPanel1, DockState.DockLeft);
            form_Database.Activate();

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

            form_Home.Activate();
        }