コード例 #1
0
        public LogWindow()
        {
            InitializeComponent();

            DataContext = VM = new LogWindowViewmodel(this);

            VM.ShowDebug = AlephAppContext.DebugMode;
        }
コード例 #2
0
        public LogWindow()
        {
            InitializeComponent();

            CheckBoxDebug.IsChecked = App.Logger.DebugEnabled;

            DataContext = VM = new LogWindowViewmodel();
        }
コード例 #3
0
        public LogWindow(IEnumerable <LogEvent> eventsOverride)
        {
            InitializeComponent();

            DataContext = VM = new LogWindowViewmodel(this, eventsOverride);

            VM.ShowDebug = true;

            Title = "LogWindow [imported]";
        }