public void ShowHomePage() { if (!WorkingAreaPanel.Controls.Contains(uHomePage.Instance)) { WorkingAreaPanel.Controls.Add(uHomePage.Instance); uHomePage.Instance.Dock = DockStyle.Fill; } PropertyTreeListDockPanel.Close(); }
private void NewBarButton_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { PropertyTreeListDockPanel.Show(); uHomePage.Instance.Hide(); }