public LogWindow() { InitializeComponent(); DataContext = VM = new LogWindowViewmodel(this); VM.ShowDebug = AlephAppContext.DebugMode; }
public LogWindow() { InitializeComponent(); CheckBoxDebug.IsChecked = App.Logger.DebugEnabled; DataContext = VM = new LogWindowViewmodel(); }
public LogWindow(IEnumerable <LogEvent> eventsOverride) { InitializeComponent(); DataContext = VM = new LogWindowViewmodel(this, eventsOverride); VM.ShowDebug = true; Title = "LogWindow [imported]"; }