Esempio n. 1
0
 public void init(bool dev)
 {
     drift0();
     setDbgText("Test");
     if (!dev)
     {
         stack1.Visibility = System.Windows.Visibility.Collapsed;
         stack2.Visibility = System.Windows.Visibility.Collapsed;
         stack3.Visibility = System.Windows.Visibility.Collapsed;
         dbg.Visibility    = System.Windows.Visibility.Collapsed;
         //Dock0.Children.Remove(TT);
         //Dock1.Children.Add(TT);
         dt.SetValue(DockPanel.DockProperty, Dock.Right);
         TT.SetValue(DockPanel.DockProperty, Dock.Left);
         window.SizeChanged += window_SizeChanged;
     }
 }