Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MainWindow" /> class.
 /// </summary>
 public MainWindow()
 {
     InitializeComponent();
     ListBox.Items    = this.Examples = this.GetExamples(this.GetType().Assembly).OrderBy(e => e.Title).ToArray();
     this.DataContext = this;
     DevToolsExtensions.AttachDevTools(this);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MainWindow" /> class.
 /// </summary>
 public MainWindow()
 {
     InitializeComponent();
     DevToolsExtensions.AttachDevTools(this);
 }
Esempio n. 3
0
        public static void AttachDevTools(Window window)
        {
#if DEBUG
            DevToolsExtensions.AttachDevTools(window);
#endif
        }