public ManifestDialog() { _traceListener = new TextTraceListener { TraceOutputOptions = TraceOptions.DateTime }; InitializeComponent(); DataContext = this; this.SetVisualStudioThemeStyles(); }
public TraceWindow(TextTraceListener traceListener) { TraceListener = traceListener; WeakEventManager <INotifyPropertyChanged, PropertyChangedEventArgs> .AddHandler(TraceListener, "PropertyChanged", TraceListenerOnPropertyChanged); Trace.Listeners.Add(TraceListener); InitializeComponent(); this.SetVisualStudioThemeStyles(); SetTraceText(TraceListener.Trace); }
public ManifestDialog() { _traceListener = new TextTraceListener { TraceOutputOptions = TraceOptions.DateTime }; InitializeComponent(); DataContext = this; this.SetVisualStudioThemeStyles(); TokenSectionTabs.Background = Background; TokenSectionTabs.BorderThickness = new Thickness(1, 0, 0, 0); TokenSectionTabs.BorderBrush = (Brush)FindResource(VsBrushes.PanelHyperlinkKey); TokenSectionTabs.Margin = new Thickness(0, 5, 15, 5); TokenSectionTabs.Style = Style; HeadlineText.MouseLeftButtonDown += (sender, args) => { DragMove(); }; }