Exemple #1
0
 public void DisplayPanel(DefaultPanel panel)
 {
     if (Window.GetWindow(panel) == null)
     {
         this.DockPanel_MainDock.Children.Add(panel);
         DockPanel.SetDock(panel, Dock.Left);
     }
 }
 public void Add(DefaultPanel item)
 {
     this.DockPanel_Sub_Window_Main.Children.Add(item);
     this.TextBlock_Title.Text += " - " +item.TitleName;
     this.Title = this.TextBlock_Title.Text;
 }
Exemple #3
0
 public void RemovePanel(DefaultPanel panel)
 {
     this.PanelList.Remove(panel);
     this.InitMenu();
 }
Exemple #4
0
 public void AddPanel(DefaultPanel panel)
 {
     this.PanelList.Add(panel);
     this.InitMenu();
 }