예제 #1
0
        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();
        }
예제 #2
0
 protected override void OnMouseDoubleClick(MouseEventArgsExtend args)
 {
     TextEditorWindow textEditorWindow = new TextEditorWindow(this, "PlaceHolderText", null, "FontSize", false);
 }
예제 #3
0
 protected override void OnMouseDoubleClick(MouseEventArgsExtend args)
 {
     TextEditorWindow textEditorWindow = new TextEditorWindow((object)this, "LabelText", "CColor", "FontSize", true);
 }
예제 #4
0
 protected override void OnMouseDoubleClick(MouseEventArgsExtend args)
 {
     TextEditorWindow textEditorWindow = new TextEditorWindow(this, "LabelText", null, null, false);
 }
예제 #5
0
 protected override void OnMouseDoubleClick(MouseEventArgsExtend args)
 {
     TextEditorWindow textEditorWindow = new TextEditorWindow((object)this, "LabelText", "CColor", (string)null, false);
 }
예제 #6
0
 protected override void OnMouseDoubleClick(MouseEventArgsExtend args)
 {
     TextEditorWindow textEditorWindow = new TextEditorWindow((object)this, "ButtonText", "TextColor", "FontSize", false);
 }