private void Form1_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(); }
/// <summary> /// 显示起始页 /// </summary> public void ShowHome() { if (form_Home == null) { form_Home = new Form_Home(); form_Home.Show(dockPanel1); } form_Home.Activate(); }