private void DoViewManifestClick(object sender, RoutedEventArgs e) { StatusBar log = GuiApp.MainWindow.StatusBar; string selectedProvider = ProviderNameListBox.SelectedItem as string; if (selectedProvider == null) { log.LogError("No provider selected"); return; } log.Log("[Looking up manifest for " + selectedProvider + " ]"); string manifestString = RegisteredTraceEventParser.GetManifestForRegisteredProvider(selectedProvider); var textEditorWindow = new TextEditorWindow(); textEditorWindow.Width = 1200; textEditorWindow.Height = 800; textEditorWindow.TextEditor.IsReadOnly = true; textEditorWindow.TextEditor.AppendText(manifestString); textEditorWindow.Show(); }
protected override void OnMouseDoubleClick(MouseEventArgsExtend args) { TextEditorWindow textEditorWindow = new TextEditorWindow(this, "PlaceHolderText", null, "FontSize", false); }
protected override void OnMouseDoubleClick(MouseEventArgsExtend args) { TextEditorWindow textEditorWindow = new TextEditorWindow((object)this, "LabelText", "CColor", "FontSize", true); }
protected override void OnMouseDoubleClick(MouseEventArgsExtend args) { TextEditorWindow textEditorWindow = new TextEditorWindow(this, "LabelText", null, null, false); }
protected override void OnMouseDoubleClick(MouseEventArgsExtend args) { TextEditorWindow textEditorWindow = new TextEditorWindow((object)this, "LabelText", "CColor", (string)null, false); }
protected override void OnMouseDoubleClick(MouseEventArgsExtend args) { TextEditorWindow textEditorWindow = new TextEditorWindow((object)this, "ButtonText", "TextColor", "FontSize", false); }