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