Click here to Skip to main content
15,884,237 members
Articles / Desktop Programming / XAML

WF4 Custom activities for message mediation

Rate me:
Please Sign up or sign in to vote.
4.98/5 (25 votes)
20 Dec 2012CPOL24 min read 108.2K   2K   72  
This article describes a design, implementation, and usage of custom message mediation activities for a XAML workflow.
namespace RKiss.MessageMediationActivityLibrary.Design.Dialogs.UserControls
{
    partial class XpathUserControl
    {
        /// <summary> 
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary> 
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Component Designer generated code

        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            this.tabPageNamespaces = new System.Windows.Forms.TabPage();
            this.dataGridViewNamespaces = new System.Windows.Forms.DataGridView();
            this.ColumnPrefix = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.ColumnNamespace = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.datagridContextMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.clearAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.tabPageXmlDocument = new System.Windows.Forms.TabPage();
            this.xmlNotepadPanelControl1 = new RKiss.MessageMediationActivityLibrary.Design.Dialogs.UserControls.XmlNotepadPanelControl();
            this.tabControlXPath = new System.Windows.Forms.TabControl();
            this.panel1 = new System.Windows.Forms.Panel();
            this.textBoxXPathInput = new System.Windows.Forms.TextBox();
            this.textBoxXPathGenerator = new System.Windows.Forms.TextBox();
            this.tabPageNamespaces.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridViewNamespaces)).BeginInit();
            this.datagridContextMenu.SuspendLayout();
            this.tabPageXmlDocument.SuspendLayout();
            this.tabControlXPath.SuspendLayout();
            this.panel1.SuspendLayout();
            this.SuspendLayout();
            // 
            // tabPageNamespaces
            // 
            this.tabPageNamespaces.Controls.Add(this.dataGridViewNamespaces);
            this.tabPageNamespaces.Location = new System.Drawing.Point(4, 22);
            this.tabPageNamespaces.Name = "tabPageNamespaces";
            this.tabPageNamespaces.Padding = new System.Windows.Forms.Padding(3);
            this.tabPageNamespaces.Size = new System.Drawing.Size(547, 309);
            this.tabPageNamespaces.TabIndex = 1;
            this.tabPageNamespaces.Text = "Namespaces";
            this.tabPageNamespaces.UseVisualStyleBackColor = true;
            // 
            // dataGridViewNamespaces
            // 
            this.dataGridViewNamespaces.AllowDrop = true;
            this.dataGridViewNamespaces.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dataGridViewNamespaces.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.ColumnPrefix,
            this.ColumnNamespace});
            this.dataGridViewNamespaces.ContextMenuStrip = this.datagridContextMenu;
            this.dataGridViewNamespaces.Dock = System.Windows.Forms.DockStyle.Fill;
            this.dataGridViewNamespaces.Location = new System.Drawing.Point(3, 3);
            this.dataGridViewNamespaces.Name = "dataGridViewNamespaces";
            this.dataGridViewNamespaces.RowHeadersVisible = false;
            this.dataGridViewNamespaces.Size = new System.Drawing.Size(541, 303);
            this.dataGridViewNamespaces.TabIndex = 0;
            // 
            // ColumnPrefix
            // 
            this.ColumnPrefix.HeaderText = "Prefix";
            this.ColumnPrefix.Name = "ColumnPrefix";
            this.ColumnPrefix.Width = 50;
            // 
            // ColumnNamespace
            // 
            this.ColumnNamespace.HeaderText = "Namespace";
            this.ColumnNamespace.Name = "ColumnNamespace";
            this.ColumnNamespace.Width = 900;
            // 
            // datagridContextMenu
            // 
            this.datagridContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.clearAllToolStripMenuItem});
            this.datagridContextMenu.Name = "datagridContextMenu";
            this.datagridContextMenu.Size = new System.Drawing.Size(116, 26);
            // 
            // clearAllToolStripMenuItem
            // 
            this.clearAllToolStripMenuItem.Name = "clearAllToolStripMenuItem";
            this.clearAllToolStripMenuItem.Size = new System.Drawing.Size(115, 22);
            this.clearAllToolStripMenuItem.Text = "ClearAll";
            this.clearAllToolStripMenuItem.Click += new System.EventHandler(this.clearAllToolStripMenuItem_Click);
            // 
            // tabPageXmlDocument
            // 
            this.tabPageXmlDocument.Controls.Add(this.xmlNotepadPanelControl1);
            this.tabPageXmlDocument.Location = new System.Drawing.Point(4, 22);
            this.tabPageXmlDocument.Name = "tabPageXmlDocument";
            this.tabPageXmlDocument.Padding = new System.Windows.Forms.Padding(3);
            this.tabPageXmlDocument.Size = new System.Drawing.Size(547, 309);
            this.tabPageXmlDocument.TabIndex = 0;
            this.tabPageXmlDocument.Text = "XmlDocument";
            this.tabPageXmlDocument.UseVisualStyleBackColor = true;
            // 
            // xmlNotepadPanelControl1
            // 
            this.xmlNotepadPanelControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.xmlNotepadPanelControl1.Location = new System.Drawing.Point(3, 3);
            this.xmlNotepadPanelControl1.Name = "xmlNotepadPanelControl1";
            this.xmlNotepadPanelControl1.Size = new System.Drawing.Size(541, 303);
            this.xmlNotepadPanelControl1.TabIndex = 0;
            // 
            // tabControlXPath
            // 
            this.tabControlXPath.AllowDrop = true;
            this.tabControlXPath.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                        | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.tabControlXPath.Controls.Add(this.tabPageXmlDocument);
            this.tabControlXPath.Controls.Add(this.tabPageNamespaces);
            this.tabControlXPath.Location = new System.Drawing.Point(0, 0);
            this.tabControlXPath.Name = "tabControlXPath";
            this.tabControlXPath.SelectedIndex = 0;
            this.tabControlXPath.Size = new System.Drawing.Size(555, 335);
            this.tabControlXPath.TabIndex = 1;
            // 
            // panel1
            // 
            this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.panel1.Controls.Add(this.textBoxXPathInput);
            this.panel1.Controls.Add(this.textBoxXPathGenerator);
            this.panel1.Location = new System.Drawing.Point(0, 334);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(555, 59);
            this.panel1.TabIndex = 2;
            // 
            // textBoxXPathInput
            // 
            this.textBoxXPathInput.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.textBoxXPathInput.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.textBoxXPathInput.ForeColor = System.Drawing.Color.Blue;
            this.textBoxXPathInput.Location = new System.Drawing.Point(6, 33);
            this.textBoxXPathInput.Name = "textBoxXPathInput";
            this.textBoxXPathInput.Size = new System.Drawing.Size(539, 20);
            this.textBoxXPathInput.TabIndex = 0;
            this.textBoxXPathInput.DoubleClick += new System.EventHandler(this.textBoxXPathInput_DoubleClick);
            this.textBoxXPathInput.TextChanged += new System.EventHandler(this.textBoxXPathInput_TextChanged);
            this.textBoxXPathInput.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBoxXPathInput_KeyPress);
            // 
            // textBoxXPathGenerator
            // 
            this.textBoxXPathGenerator.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.textBoxXPathGenerator.BackColor = System.Drawing.SystemColors.Info;
            this.textBoxXPathGenerator.Location = new System.Drawing.Point(6, 7);
            this.textBoxXPathGenerator.Name = "textBoxXPathGenerator";
            this.textBoxXPathGenerator.ReadOnly = true;
            this.textBoxXPathGenerator.Size = new System.Drawing.Size(539, 20);
            this.textBoxXPathGenerator.TabIndex = 0;
            this.textBoxXPathGenerator.DoubleClick += new System.EventHandler(this.textBoxXPathGenerator_DoubleClick);
            this.textBoxXPathGenerator.MouseLeave += new System.EventHandler(this.textBoxXPathGenerator_MouseLeave);
            this.textBoxXPathGenerator.MouseHover += new System.EventHandler(this.textBoxXPathGenerator_MouseHover);
            this.textBoxXPathGenerator.MouseEnter += new System.EventHandler(this.textBoxXPathGenerator_MouseEnter);
            // 
            // XpathUserControl
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.panel1);
            this.Controls.Add(this.tabControlXPath);
            this.Name = "XpathUserControl";
            this.Size = new System.Drawing.Size(555, 393);
            this.tabPageNamespaces.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.dataGridViewNamespaces)).EndInit();
            this.datagridContextMenu.ResumeLayout(false);
            this.tabPageXmlDocument.ResumeLayout(false);
            this.tabControlXPath.ResumeLayout(false);
            this.panel1.ResumeLayout(false);
            this.panel1.PerformLayout();
            this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.TabPage tabPageNamespaces;
        private System.Windows.Forms.TabPage tabPageXmlDocument;
        private System.Windows.Forms.TabControl tabControlXPath;
        private System.Windows.Forms.Panel panel1;
        private System.Windows.Forms.TextBox textBoxXPathInput;
        private System.Windows.Forms.TextBox textBoxXPathGenerator;
        private System.Windows.Forms.DataGridView dataGridViewNamespaces;
        private System.Windows.Forms.DataGridViewTextBoxColumn ColumnPrefix;
        private System.Windows.Forms.DataGridViewTextBoxColumn ColumnNamespace;
        private XmlNotepadPanelControl xmlNotepadPanelControl1;
        private System.Windows.Forms.ContextMenuStrip datagridContextMenu;
        private System.Windows.Forms.ToolStripMenuItem clearAllToolStripMenuItem;

    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions