コード例 #1
0
        /// <summary> 
        /// Méthode requise pour la prise en charge du concepteur - ne modifiez pas 
        /// le contenu de cette méthode avec l'éditeur de code.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FetchXmlTester));
            CSRichTextBoxSyntaxHighlighting.XMLViewerSettings xmlViewerSettings5 = new CSRichTextBoxSyntaxHighlighting.XMLViewerSettings();
            CSRichTextBoxSyntaxHighlighting.XMLViewerSettings xmlViewerSettings6 = new CSRichTextBoxSyntaxHighlighting.XMLViewerSettings();
            this.toolStripMenu = new System.Windows.Forms.ToolStrip();
            this.tsbClose = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
            this.tsbExecute = new System.Windows.Forms.ToolStripButton();
            this.toolImageList = new System.Windows.Forms.ImageList(this.components);
            this.tabControl1 = new System.Windows.Forms.TabControl();
            this.tabPage1 = new System.Windows.Forms.TabPage();
            this.tabPage2 = new System.Windows.Forms.TabPage();
            this.txtResponse = new CSRichTextBoxSyntaxHighlighting.XMLViewer();
            this.txtRequest = new CSRichTextBoxSyntaxHighlighting.XMLViewer();
            this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
            this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
            this.toolStripMenu.SuspendLayout();
            this.tabControl1.SuspendLayout();
            this.tabPage1.SuspendLayout();
            this.tabPage2.SuspendLayout();
            this.SuspendLayout();
            // 
            // toolStripMenu
            // 
            this.toolStripMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.tsbClose,
            this.toolStripSeparator1,
            this.tsbExecute,
            this.toolStripSeparator2,
            this.toolStripButton1});
            this.toolStripMenu.Location = new System.Drawing.Point(0, 0);
            this.toolStripMenu.Name = "toolStripMenu";
            this.toolStripMenu.Size = new System.Drawing.Size(911, 25);
            this.toolStripMenu.TabIndex = 2;
            this.toolStripMenu.Text = "toolStrip1";
            // 
            // tsbClose
            // 
            this.tsbClose.Image = ((System.Drawing.Image)(resources.GetObject("tsbClose.Image")));
            this.tsbClose.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.tsbClose.Name = "tsbClose";
            this.tsbClose.Size = new System.Drawing.Size(102, 22);
            this.tsbClose.Text = "Close this tool";
            this.tsbClose.Click += new System.EventHandler(this.TsbCloseClick);
            // 
            // toolStripSeparator1
            // 
            this.toolStripSeparator1.Name = "toolStripSeparator1";
            this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
            // 
            // tsbExecute
            // 
            this.tsbExecute.Image = ((System.Drawing.Image)(resources.GetObject("tsbExecute.Image")));
            this.tsbExecute.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.tsbExecute.Name = "tsbExecute";
            this.tsbExecute.Size = new System.Drawing.Size(67, 22);
            this.tsbExecute.Text = "Execute";
            this.tsbExecute.Click += new System.EventHandler(this.TsbExecuteClick);
            // 
            // toolImageList
            // 
            this.toolImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("toolImageList.ImageStream")));
            this.toolImageList.TransparentColor = System.Drawing.Color.Transparent;
            this.toolImageList.Images.SetKeyName(0, "Icon.png");
            // 
            // tabControl1
            // 
            this.tabControl1.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.tabControl1.Controls.Add(this.tabPage1);
            this.tabControl1.Controls.Add(this.tabPage2);
            this.tabControl1.Location = new System.Drawing.Point(3, 28);
            this.tabControl1.Name = "tabControl1";
            this.tabControl1.SelectedIndex = 0;
            this.tabControl1.Size = new System.Drawing.Size(905, 569);
            this.tabControl1.TabIndex = 3;
            // 
            // tabPage1
            // 
            this.tabPage1.Controls.Add(this.txtRequest);
            this.tabPage1.Location = new System.Drawing.Point(4, 22);
            this.tabPage1.Name = "tabPage1";
            this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage1.Size = new System.Drawing.Size(897, 543);
            this.tabPage1.TabIndex = 0;
            this.tabPage1.Text = "Request";
            this.tabPage1.UseVisualStyleBackColor = true;
            // 
            // tabPage2
            // 
            this.tabPage2.Controls.Add(this.txtResponse);
            this.tabPage2.Location = new System.Drawing.Point(4, 22);
            this.tabPage2.Name = "tabPage2";
            this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage2.Size = new System.Drawing.Size(897, 543);
            this.tabPage2.TabIndex = 1;
            this.tabPage2.Text = "Response";
            this.tabPage2.UseVisualStyleBackColor = true;
            // 
            // txtResponse
            // 
            this.txtResponse.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.txtResponse.Location = new System.Drawing.Point(6, 6);
            this.txtResponse.Name = "txtResponse";
            xmlViewerSettings5.AttributeKey = System.Drawing.Color.Red;
            xmlViewerSettings5.AttributeValue = System.Drawing.Color.Blue;
            xmlViewerSettings5.Element = System.Drawing.Color.DarkRed;
            xmlViewerSettings5.Tag = System.Drawing.Color.Blue;
            xmlViewerSettings5.Value = System.Drawing.Color.Black;
            this.txtResponse.Settings = xmlViewerSettings5;
            this.txtResponse.Size = new System.Drawing.Size(885, 531);
            this.txtResponse.TabIndex = 0;
            this.txtResponse.Text = "";
            // 
            // txtRequest
            // 
            this.txtRequest.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.txtRequest.Location = new System.Drawing.Point(6, 6);
            this.txtRequest.Name = "txtRequest";
            xmlViewerSettings6.AttributeKey = System.Drawing.Color.Red;
            xmlViewerSettings6.AttributeValue = System.Drawing.Color.Blue;
            xmlViewerSettings6.Element = System.Drawing.Color.DarkRed;
            xmlViewerSettings6.Tag = System.Drawing.Color.Blue;
            xmlViewerSettings6.Value = System.Drawing.Color.Black;
            this.txtRequest.Settings = xmlViewerSettings6;
            this.txtRequest.Size = new System.Drawing.Size(885, 531);
            this.txtRequest.TabIndex = 1;
            this.txtRequest.Text = "";
            // 
            // toolStripSeparator2
            // 
            this.toolStripSeparator2.Name = "toolStripSeparator2";
            this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25);
            // 
            // toolStripButton1
            // 
            this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
            this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton1.Name = "toolStripButton1";
            this.toolStripButton1.Size = new System.Drawing.Size(89, 22);
            this.toolStripButton1.Text = "Format Xml";
            this.toolStripButton1.Click += new System.EventHandler(this.ToolStripButton1Click);
            // 
            // MainControl
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.tabControl1);
            this.Controls.Add(this.toolStripMenu);
            this.Name = "MainControl";
            this.Size = new System.Drawing.Size(911, 600);
            this.toolStripMenu.ResumeLayout(false);
            this.toolStripMenu.PerformLayout();
            this.tabControl1.ResumeLayout(false);
            this.tabPage1.ResumeLayout(false);
            this.tabPage2.ResumeLayout(false);
            this.ResumeLayout(false);
            this.PerformLayout();

        }
コード例 #2
0
 /// <summary>
 /// Méthode requise pour la prise en charge du concepteur - ne modifiez pas
 /// le contenu de cette méthode avec l'éditeur de code.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager    resources          = new System.ComponentModel.ComponentResourceManager(typeof(FetchXmlTester));
     CSRichTextBoxSyntaxHighlighting.XMLViewerSettings xmlViewerSettings5 = new CSRichTextBoxSyntaxHighlighting.XMLViewerSettings();
     CSRichTextBoxSyntaxHighlighting.XMLViewerSettings xmlViewerSettings6 = new CSRichTextBoxSyntaxHighlighting.XMLViewerSettings();
     this.toolStripMenu       = new System.Windows.Forms.ToolStrip();
     this.tsbClose            = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.tsbExecute          = new System.Windows.Forms.ToolStripButton();
     this.toolImageList       = new System.Windows.Forms.ImageList(this.components);
     this.tabControl1         = new System.Windows.Forms.TabControl();
     this.tabPage1            = new System.Windows.Forms.TabPage();
     this.tabPage2            = new System.Windows.Forms.TabPage();
     this.txtResponse         = new CSRichTextBoxSyntaxHighlighting.XMLViewer();
     this.txtRequest          = new CSRichTextBoxSyntaxHighlighting.XMLViewer();
     this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripButton1    = new System.Windows.Forms.ToolStripButton();
     this.toolStripMenu.SuspendLayout();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.tabPage2.SuspendLayout();
     this.SuspendLayout();
     //
     // toolStripMenu
     //
     this.toolStripMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.tsbClose,
         this.toolStripSeparator1,
         this.tsbExecute,
         this.toolStripSeparator2,
         this.toolStripButton1
     });
     this.toolStripMenu.Location = new System.Drawing.Point(0, 0);
     this.toolStripMenu.Name     = "toolStripMenu";
     this.toolStripMenu.Size     = new System.Drawing.Size(911, 25);
     this.toolStripMenu.TabIndex = 2;
     this.toolStripMenu.Text     = "toolStrip1";
     //
     // tsbClose
     //
     this.tsbClose.Image = ((System.Drawing.Image)(resources.GetObject("tsbClose.Image")));
     this.tsbClose.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbClose.Name   = "tsbClose";
     this.tsbClose.Size   = new System.Drawing.Size(102, 22);
     this.tsbClose.Text   = "Close this tool";
     this.tsbClose.Click += new System.EventHandler(this.TsbCloseClick);
     //
     // toolStripSeparator1
     //
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
     //
     // tsbExecute
     //
     this.tsbExecute.Image = ((System.Drawing.Image)(resources.GetObject("tsbExecute.Image")));
     this.tsbExecute.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbExecute.Name   = "tsbExecute";
     this.tsbExecute.Size   = new System.Drawing.Size(67, 22);
     this.tsbExecute.Text   = "Execute";
     this.tsbExecute.Click += new System.EventHandler(this.TsbExecuteClick);
     //
     // toolImageList
     //
     this.toolImageList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("toolImageList.ImageStream")));
     this.toolImageList.TransparentColor = System.Drawing.Color.Transparent;
     this.toolImageList.Images.SetKeyName(0, "Icon.png");
     //
     // tabControl1
     //
     this.tabControl1.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.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Controls.Add(this.tabPage2);
     this.tabControl1.Location      = new System.Drawing.Point(3, 28);
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size          = new System.Drawing.Size(905, 569);
     this.tabControl1.TabIndex      = 3;
     //
     // tabPage1
     //
     this.tabPage1.Controls.Add(this.txtRequest);
     this.tabPage1.Location = new System.Drawing.Point(4, 22);
     this.tabPage1.Name     = "tabPage1";
     this.tabPage1.Padding  = new System.Windows.Forms.Padding(3);
     this.tabPage1.Size     = new System.Drawing.Size(897, 543);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text     = "Request";
     this.tabPage1.UseVisualStyleBackColor = true;
     //
     // tabPage2
     //
     this.tabPage2.Controls.Add(this.txtResponse);
     this.tabPage2.Location = new System.Drawing.Point(4, 22);
     this.tabPage2.Name     = "tabPage2";
     this.tabPage2.Padding  = new System.Windows.Forms.Padding(3);
     this.tabPage2.Size     = new System.Drawing.Size(897, 543);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text     = "Response";
     this.tabPage2.UseVisualStyleBackColor = true;
     //
     // txtResponse
     //
     this.txtResponse.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.txtResponse.Location         = new System.Drawing.Point(6, 6);
     this.txtResponse.Name             = "txtResponse";
     xmlViewerSettings5.AttributeKey   = System.Drawing.Color.Red;
     xmlViewerSettings5.AttributeValue = System.Drawing.Color.Blue;
     xmlViewerSettings5.Element        = System.Drawing.Color.DarkRed;
     xmlViewerSettings5.Tag            = System.Drawing.Color.Blue;
     xmlViewerSettings5.Value          = System.Drawing.Color.Black;
     this.txtResponse.Settings         = xmlViewerSettings5;
     this.txtResponse.Size             = new System.Drawing.Size(885, 531);
     this.txtResponse.TabIndex         = 0;
     this.txtResponse.Text             = "";
     //
     // txtRequest
     //
     this.txtRequest.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.txtRequest.Location          = new System.Drawing.Point(6, 6);
     this.txtRequest.Name              = "txtRequest";
     xmlViewerSettings6.AttributeKey   = System.Drawing.Color.Red;
     xmlViewerSettings6.AttributeValue = System.Drawing.Color.Blue;
     xmlViewerSettings6.Element        = System.Drawing.Color.DarkRed;
     xmlViewerSettings6.Tag            = System.Drawing.Color.Blue;
     xmlViewerSettings6.Value          = System.Drawing.Color.Black;
     this.txtRequest.Settings          = xmlViewerSettings6;
     this.txtRequest.Size              = new System.Drawing.Size(885, 531);
     this.txtRequest.TabIndex          = 1;
     this.txtRequest.Text              = "";
     //
     // toolStripSeparator2
     //
     this.toolStripSeparator2.Name = "toolStripSeparator2";
     this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25);
     //
     // toolStripButton1
     //
     this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
     this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton1.Name   = "toolStripButton1";
     this.toolStripButton1.Size   = new System.Drawing.Size(89, 22);
     this.toolStripButton1.Text   = "Format Xml";
     this.toolStripButton1.Click += new System.EventHandler(this.ToolStripButton1Click);
     //
     // MainControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.tabControl1);
     this.Controls.Add(this.toolStripMenu);
     this.Name = "MainControl";
     this.Size = new System.Drawing.Size(911, 600);
     this.toolStripMenu.ResumeLayout(false);
     this.toolStripMenu.PerformLayout();
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.tabPage2.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager    resources          = new System.ComponentModel.ComponentResourceManager(typeof(XmlContentDisplayDialog));
     CSRichTextBoxSyntaxHighlighting.XMLViewerSettings xmlViewerSettings2 = new CSRichTextBoxSyntaxHighlighting.XMLViewerSettings();
     this.panBottom  = new System.Windows.Forms.Panel();
     this.btnSave    = new System.Windows.Forms.Button();
     this.btnExecute = new System.Windows.Forms.Button();
     this.panOk      = new System.Windows.Forms.Panel();
     this.btnOk      = new System.Windows.Forms.Button();
     this.panCancel  = new System.Windows.Forms.Panel();
     this.btnCancel  = new System.Windows.Forms.Button();
     this.btnFormat  = new System.Windows.Forms.Button();
     this.txtXML     = new CSRichTextBoxSyntaxHighlighting.XMLViewer();
     this.panBottom.SuspendLayout();
     this.panOk.SuspendLayout();
     this.panCancel.SuspendLayout();
     this.SuspendLayout();
     //
     // panBottom
     //
     this.panBottom.BackColor = System.Drawing.SystemColors.Control;
     this.panBottom.Controls.Add(this.btnSave);
     this.panBottom.Controls.Add(this.btnExecute);
     this.panBottom.Controls.Add(this.panOk);
     this.panBottom.Controls.Add(this.panCancel);
     this.panBottom.Controls.Add(this.btnFormat);
     this.panBottom.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.panBottom.Location = new System.Drawing.Point(0, 667);
     this.panBottom.Name     = "panBottom";
     this.panBottom.Size     = new System.Drawing.Size(809, 38);
     this.panBottom.TabIndex = 4;
     //
     // btnSave
     //
     this.btnSave.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnSave.Location = new System.Drawing.Point(549, 8);
     this.btnSave.Name     = "btnSave";
     this.btnSave.Size     = new System.Drawing.Size(75, 23);
     this.btnSave.TabIndex = 6;
     this.btnSave.Text     = "Save...";
     this.btnSave.UseVisualStyleBackColor = true;
     this.btnSave.Visible = false;
     this.btnSave.Click  += new System.EventHandler(this.btnSave_Click);
     //
     // btnExecute
     //
     this.btnExecute.DialogResult            = System.Windows.Forms.DialogResult.OK;
     this.btnExecute.Image                   = ((System.Drawing.Image)(resources.GetObject("btnExecute.Image")));
     this.btnExecute.ImageAlign              = System.Drawing.ContentAlignment.MiddleRight;
     this.btnExecute.Location                = new System.Drawing.Point(93, 8);
     this.btnExecute.Name                    = "btnExecute";
     this.btnExecute.Size                    = new System.Drawing.Size(99, 23);
     this.btnExecute.TabIndex                = 5;
     this.btnExecute.Text                    = "Execute XML";
     this.btnExecute.TextAlign               = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnExecute.UseVisualStyleBackColor = true;
     this.btnExecute.Click                  += new System.EventHandler(this.btnExecute_Click);
     //
     // panOk
     //
     this.panOk.Controls.Add(this.btnOk);
     this.panOk.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panOk.Location = new System.Drawing.Point(627, 0);
     this.panOk.Name     = "panOk";
     this.panOk.Size     = new System.Drawing.Size(91, 38);
     this.panOk.TabIndex = 4;
     //
     // btnOk
     //
     this.btnOk.DialogResult            = System.Windows.Forms.DialogResult.OK;
     this.btnOk.Location                = new System.Drawing.Point(3, 8);
     this.btnOk.Name                    = "btnOk";
     this.btnOk.Size                    = new System.Drawing.Size(75, 23);
     this.btnOk.TabIndex                = 3;
     this.btnOk.Text                    = "&OK";
     this.btnOk.UseVisualStyleBackColor = true;
     this.btnOk.Click                  += new System.EventHandler(this.btnOk_Click);
     //
     // panCancel
     //
     this.panCancel.Controls.Add(this.btnCancel);
     this.panCancel.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panCancel.Location = new System.Drawing.Point(718, 0);
     this.panCancel.Name     = "panCancel";
     this.panCancel.Size     = new System.Drawing.Size(91, 38);
     this.panCancel.TabIndex = 3;
     //
     // btnCancel
     //
     this.btnCancel.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location                = new System.Drawing.Point(3, 8);
     this.btnCancel.Name                    = "btnCancel";
     this.btnCancel.Size                    = new System.Drawing.Size(75, 23);
     this.btnCancel.TabIndex                = 4;
     this.btnCancel.Text                    = "Cancel";
     this.btnCancel.UseVisualStyleBackColor = true;
     this.btnCancel.Click                  += new System.EventHandler(this.btnCancel_Click);
     //
     // btnFormat
     //
     this.btnFormat.Location = new System.Drawing.Point(12, 8);
     this.btnFormat.Name     = "btnFormat";
     this.btnFormat.Size     = new System.Drawing.Size(75, 23);
     this.btnFormat.TabIndex = 2;
     this.btnFormat.Text     = "Format XML";
     this.btnFormat.UseVisualStyleBackColor = true;
     this.btnFormat.Click += new System.EventHandler(this.button3_Click);
     //
     // txtXML
     //
     this.txtXML.Dock                  = System.Windows.Forms.DockStyle.Fill;
     this.txtXML.Font                  = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtXML.Location              = new System.Drawing.Point(0, 0);
     this.txtXML.Name                  = "txtXML";
     xmlViewerSettings2.AttributeKey   = System.Drawing.Color.Red;
     xmlViewerSettings2.AttributeValue = System.Drawing.Color.Blue;
     xmlViewerSettings2.Comment        = System.Drawing.Color.Green;
     xmlViewerSettings2.Element        = System.Drawing.Color.DarkRed;
     xmlViewerSettings2.QuoteCharacter = '\"';
     xmlViewerSettings2.Tag            = System.Drawing.Color.Blue;
     xmlViewerSettings2.Value          = System.Drawing.Color.Black;
     this.txtXML.Settings              = xmlViewerSettings2;
     this.txtXML.Size                  = new System.Drawing.Size(809, 667);
     this.txtXML.TabIndex              = 1;
     this.txtXML.Text                  = "";
     //
     // XmlContentDisplayDialog
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton        = this.btnCancel;
     this.ClientSize          = new System.Drawing.Size(809, 705);
     this.Controls.Add(this.txtXML);
     this.Controls.Add(this.panBottom);
     this.KeyPreview   = true;
     this.Name         = "XmlContentDisplayDialog";
     this.ShowIcon     = false;
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.XmlContentDisplayDialog_FormClosing);
     this.Load        += new System.EventHandler(this.XmlContentDisplayDialog_Load);
     this.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.XmlContentDisplayDialog_KeyDown);
     this.panBottom.ResumeLayout(false);
     this.panOk.ResumeLayout(false);
     this.panCancel.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager    resources          = new System.ComponentModel.ComponentResourceManager(typeof(ExcelExportPlugin));
     CSRichTextBoxSyntaxHighlighting.XMLViewerSettings xmlViewerSettings1 = new CSRichTextBoxSyntaxHighlighting.XMLViewerSettings();
     this.toolStripMain       = new System.Windows.Forms.ToolStrip();
     this.tsbClose            = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.tsbLoadEntities     = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     this.tsbRefresh          = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
     this.tsbExportExcel      = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
     this.tsbEditInFxb        = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
     this.splitContainer1     = new System.Windows.Forms.SplitContainer();
     this.splitContainer3     = new System.Windows.Forms.SplitContainer();
     this.groupBox1           = new System.Windows.Forms.GroupBox();
     this.maxRowsPerFile      = new System.Windows.Forms.NumericUpDown();
     this.label2          = new System.Windows.Forms.Label();
     this.batchSize       = new System.Windows.Forms.NumericUpDown();
     this.label1          = new System.Windows.Forms.Label();
     this.gbEntities      = new System.Windows.Forms.GroupBox();
     this.lvEntities      = new System.Windows.Forms.ListView();
     this.columnHeader1   = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader2   = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.splitContainer2 = new System.Windows.Forms.SplitContainer();
     this.groupBox2       = new System.Windows.Forms.GroupBox();
     this.lvViews         = new System.Windows.Forms.ListView();
     this.columnHeader3   = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader4   = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.groupBox3       = new System.Windows.Forms.GroupBox();
     this.txtFetchXml     = new CSRichTextBoxSyntaxHighlighting.XMLViewer();
     this.toolStripMain.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).BeginInit();
     this.splitContainer3.Panel1.SuspendLayout();
     this.splitContainer3.Panel2.SuspendLayout();
     this.splitContainer3.SuspendLayout();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.maxRowsPerFile)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.batchSize)).BeginInit();
     this.gbEntities.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
     this.splitContainer2.Panel1.SuspendLayout();
     this.splitContainer2.Panel2.SuspendLayout();
     this.splitContainer2.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.groupBox3.SuspendLayout();
     this.SuspendLayout();
     //
     // toolStripMain
     //
     this.toolStripMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.tsbClose,
         this.toolStripSeparator1,
         this.tsbLoadEntities,
         this.toolStripSeparator2,
         this.tsbRefresh,
         this.toolStripSeparator3,
         this.tsbExportExcel,
         this.toolStripSeparator4,
         this.tsbEditInFxb,
         this.toolStripSeparator5
     });
     this.toolStripMain.Location = new System.Drawing.Point(0, 0);
     this.toolStripMain.Name     = "toolStripMain";
     this.toolStripMain.Size     = new System.Drawing.Size(900, 25);
     this.toolStripMain.TabIndex = 0;
     this.toolStripMain.Text     = "toolStrip1";
     //
     // tsbClose
     //
     this.tsbClose.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.tsbClose.Image                 = ((System.Drawing.Image)(resources.GetObject("tsbClose.Image")));
     this.tsbClose.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbClose.Name   = "tsbClose";
     this.tsbClose.Size   = new System.Drawing.Size(23, 22);
     this.tsbClose.Text   = "Close";
     this.tsbClose.Click += new System.EventHandler(this.tsbClose_Click);
     //
     // toolStripSeparator1
     //
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
     //
     // tsbLoadEntities
     //
     this.tsbLoadEntities.Image = ((System.Drawing.Image)(resources.GetObject("tsbLoadEntities.Image")));
     this.tsbLoadEntities.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbLoadEntities.Name   = "tsbLoadEntities";
     this.tsbLoadEntities.Size   = new System.Drawing.Size(94, 22);
     this.tsbLoadEntities.Text   = "Load Entities";
     this.tsbLoadEntities.Click += new System.EventHandler(this.tsbLoadEntities_Click);
     //
     // toolStripSeparator2
     //
     this.toolStripSeparator2.Name = "toolStripSeparator2";
     this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25);
     //
     // tsbRefresh
     //
     this.tsbRefresh.Enabled = false;
     this.tsbRefresh.Image   = ((System.Drawing.Image)(resources.GetObject("tsbRefresh.Image")));
     this.tsbRefresh.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbRefresh.Name   = "tsbRefresh";
     this.tsbRefresh.Size   = new System.Drawing.Size(66, 22);
     this.tsbRefresh.Text   = "Refresh";
     this.tsbRefresh.Click += new System.EventHandler(this.tsbRefresh_Click);
     //
     // toolStripSeparator3
     //
     this.toolStripSeparator3.Name = "toolStripSeparator3";
     this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25);
     //
     // tsbExportExcel
     //
     this.tsbExportExcel.Enabled = false;
     this.tsbExportExcel.Image   = ((System.Drawing.Image)(resources.GetObject("tsbExportExcel.Image")));
     this.tsbExportExcel.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbExportExcel.Name   = "tsbExportExcel";
     this.tsbExportExcel.Size   = new System.Drawing.Size(103, 22);
     this.tsbExportExcel.Text   = "Export to Excel";
     this.tsbExportExcel.Click += new System.EventHandler(this.tsbExportExcel_Click);
     //
     // toolStripSeparator4
     //
     this.toolStripSeparator4.Name = "toolStripSeparator4";
     this.toolStripSeparator4.Size = new System.Drawing.Size(6, 25);
     //
     // tsbEditInFxb
     //
     this.tsbEditInFxb.Enabled = false;
     this.tsbEditInFxb.Image   = ((System.Drawing.Image)(resources.GetObject("tsbEditInFxb.Image")));
     this.tsbEditInFxb.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbEditInFxb.Name   = "tsbEditInFxb";
     this.tsbEditInFxb.Size   = new System.Drawing.Size(136, 22);
     this.tsbEditInFxb.Text   = "Edit FetchXml in FXB";
     this.tsbEditInFxb.Click += new System.EventHandler(this.tsbEditInFxb_Click);
     //
     // toolStripSeparator5
     //
     this.toolStripSeparator5.Name = "toolStripSeparator5";
     this.toolStripSeparator5.Size = new System.Drawing.Size(6, 25);
     //
     // splitContainer1
     //
     this.splitContainer1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer1.Location = new System.Drawing.Point(0, 25);
     this.splitContainer1.Name     = "splitContainer1";
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.Controls.Add(this.splitContainer3);
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
     this.splitContainer1.Size             = new System.Drawing.Size(900, 483);
     this.splitContainer1.SplitterDistance = 272;
     this.splitContainer1.TabIndex         = 1;
     //
     // splitContainer3
     //
     this.splitContainer3.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer3.Location    = new System.Drawing.Point(0, 0);
     this.splitContainer3.Name        = "splitContainer3";
     this.splitContainer3.Orientation = System.Windows.Forms.Orientation.Horizontal;
     //
     // splitContainer3.Panel1
     //
     this.splitContainer3.Panel1.AutoScroll = true;
     this.splitContainer3.Panel1.Controls.Add(this.groupBox1);
     //
     // splitContainer3.Panel2
     //
     this.splitContainer3.Panel2.Controls.Add(this.gbEntities);
     this.splitContainer3.Size             = new System.Drawing.Size(272, 483);
     this.splitContainer3.SplitterDistance = 59;
     this.splitContainer3.TabIndex         = 2;
     //
     // groupBox1
     //
     this.groupBox1.AutoSize = true;
     this.groupBox1.Controls.Add(this.maxRowsPerFile);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.batchSize);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.groupBox1.Location = new System.Drawing.Point(0, 0);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(272, 59);
     this.groupBox1.TabIndex = 1;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Export Settings";
     //
     // maxRowsPerFile
     //
     this.maxRowsPerFile.Location = new System.Drawing.Point(115, 52);
     this.maxRowsPerFile.Maximum  = new decimal(new int[] {
         1000000,
         0,
         0,
         0
     });
     this.maxRowsPerFile.Name     = "maxRowsPerFile";
     this.maxRowsPerFile.Size     = new System.Drawing.Size(120, 20);
     this.maxRowsPerFile.TabIndex = 3;
     this.maxRowsPerFile.Value    = new decimal(new int[] {
         1000000,
         0,
         0,
         0
     });
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(6, 59);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(86, 13);
     this.label2.TabIndex = 2;
     this.label2.Text     = "Max rows per file";
     //
     // batchSize
     //
     this.batchSize.Location = new System.Drawing.Point(115, 21);
     this.batchSize.Maximum  = new decimal(new int[] {
         5000,
         0,
         0,
         0
     });
     this.batchSize.Minimum = new decimal(new int[] {
         500,
         0,
         0,
         0
     });
     this.batchSize.Name     = "batchSize";
     this.batchSize.Size     = new System.Drawing.Size(120, 20);
     this.batchSize.TabIndex = 1;
     this.batchSize.Value    = new decimal(new int[] {
         5000,
         0,
         0,
         0
     });
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(6, 29);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(58, 13);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Batch Size";
     //
     // gbEntities
     //
     this.gbEntities.Controls.Add(this.lvEntities);
     this.gbEntities.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gbEntities.Location = new System.Drawing.Point(0, 0);
     this.gbEntities.Name     = "gbEntities";
     this.gbEntities.Size     = new System.Drawing.Size(272, 420);
     this.gbEntities.TabIndex = 0;
     this.gbEntities.TabStop  = false;
     this.gbEntities.Text     = "Entities";
     //
     // lvEntities
     //
     this.lvEntities.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader1,
         this.columnHeader2
     });
     this.lvEntities.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.lvEntities.FullRowSelect = true;
     this.lvEntities.HideSelection = false;
     this.lvEntities.Location      = new System.Drawing.Point(3, 16);
     this.lvEntities.MultiSelect   = false;
     this.lvEntities.Name          = "lvEntities";
     this.lvEntities.Size          = new System.Drawing.Size(266, 401);
     this.lvEntities.Sorting       = System.Windows.Forms.SortOrder.Ascending;
     this.lvEntities.TabIndex      = 0;
     this.lvEntities.UseCompatibleStateImageBehavior = false;
     this.lvEntities.View                  = System.Windows.Forms.View.Details;
     this.lvEntities.ColumnClick          += new System.Windows.Forms.ColumnClickEventHandler(this.lvEntities_ColumnClick);
     this.lvEntities.SelectedIndexChanged += new System.EventHandler(this.lvEntities_SelectedIndexChanged);
     //
     // columnHeader1
     //
     this.columnHeader1.Text  = "Display Name";
     this.columnHeader1.Width = 134;
     //
     // columnHeader2
     //
     this.columnHeader2.Text  = "Schema Name";
     this.columnHeader2.Width = 141;
     //
     // splitContainer2
     //
     this.splitContainer2.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer2.Location    = new System.Drawing.Point(0, 0);
     this.splitContainer2.Name        = "splitContainer2";
     this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
     //
     // splitContainer2.Panel1
     //
     this.splitContainer2.Panel1.Controls.Add(this.groupBox2);
     //
     // splitContainer2.Panel2
     //
     this.splitContainer2.Panel2.Controls.Add(this.groupBox3);
     this.splitContainer2.Size             = new System.Drawing.Size(624, 483);
     this.splitContainer2.SplitterDistance = 155;
     this.splitContainer2.TabIndex         = 0;
     //
     // groupBox2
     //
     this.groupBox2.AutoSize = true;
     this.groupBox2.Controls.Add(this.lvViews);
     this.groupBox2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.groupBox2.Location = new System.Drawing.Point(0, 0);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(624, 155);
     this.groupBox2.TabIndex = 0;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Views";
     //
     // lvViews
     //
     this.lvViews.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader3,
         this.columnHeader4
     });
     this.lvViews.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.lvViews.FullRowSelect = true;
     this.lvViews.HideSelection = false;
     this.lvViews.Location      = new System.Drawing.Point(3, 16);
     this.lvViews.MultiSelect   = false;
     this.lvViews.Name          = "lvViews";
     this.lvViews.Size          = new System.Drawing.Size(618, 136);
     this.lvViews.Sorting       = System.Windows.Forms.SortOrder.Ascending;
     this.lvViews.TabIndex      = 0;
     this.lvViews.UseCompatibleStateImageBehavior = false;
     this.lvViews.View                  = System.Windows.Forms.View.Details;
     this.lvViews.ColumnClick          += new System.Windows.Forms.ColumnClickEventHandler(this.lvViews_ColumnClick);
     this.lvViews.SelectedIndexChanged += new System.EventHandler(this.lvViews_SelectedIndexChanged);
     //
     // columnHeader3
     //
     this.columnHeader3.Text  = "Name";
     this.columnHeader3.Width = 210;
     //
     // columnHeader4
     //
     this.columnHeader4.Text  = "Description";
     this.columnHeader4.Width = 346;
     //
     // groupBox3
     //
     this.groupBox3.Controls.Add(this.txtFetchXml);
     this.groupBox3.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.groupBox3.Location = new System.Drawing.Point(0, 0);
     this.groupBox3.Name     = "groupBox3";
     this.groupBox3.Size     = new System.Drawing.Size(624, 324);
     this.groupBox3.TabIndex = 0;
     this.groupBox3.TabStop  = false;
     this.groupBox3.Text     = "FetchXml";
     //
     // txtFetchXml
     //
     this.txtFetchXml.Dock             = System.Windows.Forms.DockStyle.Fill;
     this.txtFetchXml.Location         = new System.Drawing.Point(3, 16);
     this.txtFetchXml.Margin           = new System.Windows.Forms.Padding(2);
     this.txtFetchXml.Name             = "txtFetchXml";
     xmlViewerSettings1.AttributeKey   = System.Drawing.Color.Red;
     xmlViewerSettings1.AttributeValue = System.Drawing.Color.Blue;
     xmlViewerSettings1.Element        = System.Drawing.Color.DarkRed;
     xmlViewerSettings1.Tag            = System.Drawing.Color.Blue;
     xmlViewerSettings1.Value          = System.Drawing.Color.Black;
     this.txtFetchXml.Settings         = xmlViewerSettings1;
     this.txtFetchXml.Size             = new System.Drawing.Size(618, 305);
     this.txtFetchXml.TabIndex         = 0;
     this.txtFetchXml.Text             = "";
     //
     // ExcelExportPlugin
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.splitContainer1);
     this.Controls.Add(this.toolStripMain);
     this.Margin = new System.Windows.Forms.Padding(2);
     this.Name   = "ExcelExportPlugin";
     this.Size   = new System.Drawing.Size(900, 508);
     this.toolStripMain.ResumeLayout(false);
     this.toolStripMain.PerformLayout();
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
     this.splitContainer1.ResumeLayout(false);
     this.splitContainer3.Panel1.ResumeLayout(false);
     this.splitContainer3.Panel1.PerformLayout();
     this.splitContainer3.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).EndInit();
     this.splitContainer3.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.maxRowsPerFile)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.batchSize)).EndInit();
     this.gbEntities.ResumeLayout(false);
     this.splitContainer2.Panel1.ResumeLayout(false);
     this.splitContainer2.Panel1.PerformLayout();
     this.splitContainer2.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
     this.splitContainer2.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     this.groupBox3.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #5
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     CSRichTextBoxSyntaxHighlighting.XMLViewerSettings xmlViewerSettings1 = new CSRichTextBoxSyntaxHighlighting.XMLViewerSettings();
     System.ComponentModel.ComponentResourceManager    resources          = new System.ComponentModel.ComponentResourceManager(typeof(XmlContentDisplayDialog));
     this.panBottom = new System.Windows.Forms.Panel();
     this.panOk     = new System.Windows.Forms.Panel();
     this.btnOk     = new System.Windows.Forms.Button();
     this.panCancel = new System.Windows.Forms.Panel();
     this.btnCancel = new System.Windows.Forms.Button();
     this.btnFormat = new System.Windows.Forms.Button();
     this.panel1    = new System.Windows.Forms.Panel();
     this.gbXml     = new System.Windows.Forms.GroupBox();
     this.txtXML    = new CSRichTextBoxSyntaxHighlighting.XMLViewer();
     this.panBottom.SuspendLayout();
     this.panOk.SuspendLayout();
     this.panCancel.SuspendLayout();
     this.panel1.SuspendLayout();
     this.gbXml.SuspendLayout();
     this.SuspendLayout();
     //
     // panBottom
     //
     this.panBottom.BackColor = System.Drawing.SystemColors.Control;
     this.panBottom.Controls.Add(this.panOk);
     this.panBottom.Controls.Add(this.panCancel);
     this.panBottom.Controls.Add(this.btnFormat);
     this.panBottom.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.panBottom.Location = new System.Drawing.Point(0, 533);
     this.panBottom.Name     = "panBottom";
     this.panBottom.Size     = new System.Drawing.Size(784, 28);
     this.panBottom.TabIndex = 4;
     //
     // panOk
     //
     this.panOk.Controls.Add(this.btnOk);
     this.panOk.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panOk.Location = new System.Drawing.Point(602, 0);
     this.panOk.Name     = "panOk";
     this.panOk.Size     = new System.Drawing.Size(91, 28);
     this.panOk.TabIndex = 4;
     //
     // btnOk
     //
     this.btnOk.DialogResult            = System.Windows.Forms.DialogResult.OK;
     this.btnOk.Location                = new System.Drawing.Point(16, 0);
     this.btnOk.Name                    = "btnOk";
     this.btnOk.Size                    = new System.Drawing.Size(75, 23);
     this.btnOk.TabIndex                = 3;
     this.btnOk.Text                    = "OK";
     this.btnOk.UseVisualStyleBackColor = true;
     this.btnOk.Click                  += new System.EventHandler(this.btnOk_Click);
     //
     // panCancel
     //
     this.panCancel.Controls.Add(this.btnCancel);
     this.panCancel.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panCancel.Location = new System.Drawing.Point(693, 0);
     this.panCancel.Name     = "panCancel";
     this.panCancel.Size     = new System.Drawing.Size(91, 28);
     this.panCancel.TabIndex = 3;
     //
     // btnCancel
     //
     this.btnCancel.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location                = new System.Drawing.Point(13, 0);
     this.btnCancel.Name                    = "btnCancel";
     this.btnCancel.Size                    = new System.Drawing.Size(75, 23);
     this.btnCancel.TabIndex                = 4;
     this.btnCancel.Text                    = "Cancel";
     this.btnCancel.UseVisualStyleBackColor = true;
     this.btnCancel.Click                  += new System.EventHandler(this.btnCancel_Click);
     //
     // btnFormat
     //
     this.btnFormat.Location = new System.Drawing.Point(6, 0);
     this.btnFormat.Name     = "btnFormat";
     this.btnFormat.Size     = new System.Drawing.Size(75, 23);
     this.btnFormat.TabIndex = 2;
     this.btnFormat.Text     = "Format XML";
     this.btnFormat.UseVisualStyleBackColor = true;
     this.btnFormat.Click += new System.EventHandler(this.button3_Click);
     //
     // panel1
     //
     this.panel1.Controls.Add(this.gbXml);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(784, 530);
     this.panel1.TabIndex = 5;
     //
     // gbXml
     //
     this.gbXml.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.gbXml.Controls.Add(this.txtXML);
     this.gbXml.Location = new System.Drawing.Point(3, 3);
     this.gbXml.Name     = "gbXml";
     this.gbXml.Size     = new System.Drawing.Size(778, 524);
     this.gbXml.TabIndex = 0;
     this.gbXml.TabStop  = false;
     this.gbXml.Text     = "XML";
     //
     // txtXML
     //
     this.txtXML.Dock                  = System.Windows.Forms.DockStyle.Fill;
     this.txtXML.Font                  = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtXML.Location              = new System.Drawing.Point(3, 16);
     this.txtXML.Name                  = "txtXML";
     xmlViewerSettings1.AttributeKey   = System.Drawing.Color.Red;
     xmlViewerSettings1.AttributeValue = System.Drawing.Color.Blue;
     xmlViewerSettings1.Comment        = System.Drawing.Color.Empty;
     xmlViewerSettings1.Element        = System.Drawing.Color.DarkRed;
     xmlViewerSettings1.Tag            = System.Drawing.Color.Blue;
     xmlViewerSettings1.Value          = System.Drawing.Color.Black;
     this.txtXML.Settings              = xmlViewerSettings1;
     this.txtXML.Size                  = new System.Drawing.Size(772, 505);
     this.txtXML.TabIndex              = 2;
     this.txtXML.Text                  = "";
     //
     // XmlContentDisplayDialog
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton        = this.btnCancel;
     this.ClientSize          = new System.Drawing.Size(784, 561);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.panBottom);
     this.Icon         = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.KeyPreview   = true;
     this.Name         = "XmlContentDisplayDialog";
     this.ShowIcon     = false;
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.XmlContentDisplayDialog_FormClosing);
     this.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.XmlContentDisplayDialog_KeyDown);
     this.panBottom.ResumeLayout(false);
     this.panOk.ResumeLayout(false);
     this.panCancel.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.gbXml.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager    resources          = new System.ComponentModel.ComponentResourceManager(typeof(FetchControl));
     CSRichTextBoxSyntaxHighlighting.XMLViewerSettings xmlViewerSettings1 = new CSRichTextBoxSyntaxHighlighting.XMLViewerSettings();
     this.label1      = new System.Windows.Forms.Label();
     this.btnFXB      = new System.Windows.Forms.Button();
     this.txtFetchXML = new CSRichTextBoxSyntaxHighlighting.XMLViewer();
     this.btnFormat   = new System.Windows.Forms.Button();
     this.gbFetchXML  = new System.Windows.Forms.GroupBox();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(4, 7);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(56, 13);
     this.label1.TabIndex = 0;
     this.label1.Text     = "FetchXML";
     //
     // btnFXB
     //
     this.btnFXB.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnFXB.Image      = ((System.Drawing.Image)(resources.GetObject("btnFXB.Image")));
     this.btnFXB.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnFXB.Location   = new System.Drawing.Point(307, 7);
     this.btnFXB.Name       = "btnFXB";
     this.btnFXB.Padding    = new System.Windows.Forms.Padding(5);
     this.btnFXB.Size       = new System.Drawing.Size(140, 31);
     this.btnFXB.TabIndex   = 2;
     this.btnFXB.Text       = "FetchXML Builder";
     this.btnFXB.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.btnFXB.UseVisualStyleBackColor = true;
     this.btnFXB.Click += new System.EventHandler(this.btnFXB_Click);
     //
     // txtFetchXML
     //
     this.txtFetchXML.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.txtFetchXML.BackColor        = System.Drawing.SystemColors.Window;
     this.txtFetchXML.BorderStyle      = System.Windows.Forms.BorderStyle.None;
     this.txtFetchXML.Font             = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtFetchXML.Location         = new System.Drawing.Point(3, 58);
     this.txtFetchXML.Name             = "txtFetchXML";
     xmlViewerSettings1.AttributeKey   = System.Drawing.Color.Red;
     xmlViewerSettings1.AttributeValue = System.Drawing.Color.Blue;
     xmlViewerSettings1.Comment        = System.Drawing.Color.Green;
     xmlViewerSettings1.Element        = System.Drawing.Color.DarkRed;
     xmlViewerSettings1.QuoteCharacter = '\"';
     xmlViewerSettings1.Tag            = System.Drawing.Color.Blue;
     xmlViewerSettings1.Value          = System.Drawing.Color.Black;
     this.txtFetchXML.Settings         = xmlViewerSettings1;
     this.txtFetchXML.Size             = new System.Drawing.Size(444, 89);
     this.txtFetchXML.TabIndex         = 3;
     this.txtFetchXML.Tag  = "#text";
     this.txtFetchXML.Text = "";
     //
     // btnFormat
     //
     this.btnFormat.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnFormat.Location = new System.Drawing.Point(197, 7);
     this.btnFormat.Name     = "btnFormat";
     this.btnFormat.Size     = new System.Drawing.Size(104, 31);
     this.btnFormat.TabIndex = 4;
     this.btnFormat.Text     = "Format XML";
     this.btnFormat.UseVisualStyleBackColor = true;
     this.btnFormat.Click += new System.EventHandler(this.btnFormat_Click);
     //
     // gbFetchXML
     //
     this.gbFetchXML.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.gbFetchXML.Location = new System.Drawing.Point(-1, 44);
     this.gbFetchXML.Name     = "gbFetchXML";
     this.gbFetchXML.Size     = new System.Drawing.Size(452, 8);
     this.gbFetchXML.TabIndex = 5;
     this.gbFetchXML.TabStop  = false;
     //
     // FetchControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.txtFetchXML);
     this.Controls.Add(this.gbFetchXML);
     this.Controls.Add(this.btnFormat);
     this.Controls.Add(this.btnFXB);
     this.Controls.Add(this.label1);
     this.Name = "FetchControl";
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #7
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     CSRichTextBoxSyntaxHighlighting.XMLViewerSettings xmlViewerSettings1 = new CSRichTextBoxSyntaxHighlighting.XMLViewerSettings();
     this.panel1     = new System.Windows.Forms.Panel();
     this.cmbView    = new System.Windows.Forms.ComboBox();
     this.label3     = new System.Windows.Forms.Label();
     this.label1     = new System.Windows.Forms.Label();
     this.cmbEntity  = new System.Windows.Forms.ComboBox();
     this.panel2     = new System.Windows.Forms.Panel();
     this.btnRefresh = new System.Windows.Forms.Button();
     this.panOk      = new System.Windows.Forms.Panel();
     this.btnOk      = new System.Windows.Forms.Button();
     this.panCancel  = new System.Windows.Forms.Panel();
     this.button2    = new System.Windows.Forms.Button();
     this.panel3     = new System.Windows.Forms.Panel();
     this.txtFetch   = new CSRichTextBoxSyntaxHighlighting.XMLViewer();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.panOk.SuspendLayout();
     this.panCancel.SuspendLayout();
     this.panel3.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Controls.Add(this.cmbView);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.cmbEntity);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Margin   = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(755, 87);
     this.panel1.TabIndex = 5;
     //
     // cmbView
     //
     this.cmbView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.cmbView.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbView.FormattingEnabled = true;
     this.cmbView.Location          = new System.Drawing.Point(149, 48);
     this.cmbView.Margin            = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.cmbView.Name                  = "cmbView";
     this.cmbView.Size                  = new System.Drawing.Size(588, 24);
     this.cmbView.TabIndex              = 2;
     this.cmbView.SelectedIndexChanged += new System.EventHandler(this.cmbView_SelectedIndexChanged);
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(16, 52);
     this.label3.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(37, 17);
     this.label3.TabIndex = 10;
     this.label3.Text     = "View";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(16, 18);
     this.label1.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(43, 17);
     this.label1.TabIndex = 6;
     this.label1.Text     = "Entity";
     //
     // cmbEntity
     //
     this.cmbEntity.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.cmbEntity.AutoCompleteMode   = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
     this.cmbEntity.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
     this.cmbEntity.FormattingEnabled  = true;
     this.cmbEntity.Location           = new System.Drawing.Point(149, 15);
     this.cmbEntity.Margin             = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.cmbEntity.Name                  = "cmbEntity";
     this.cmbEntity.Size                  = new System.Drawing.Size(588, 24);
     this.cmbEntity.Sorted                = true;
     this.cmbEntity.TabIndex              = 1;
     this.cmbEntity.SelectedIndexChanged += new System.EventHandler(this.cmbEntity_SelectedIndexChanged);
     this.cmbEntity.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.cmbEntity_KeyDown);
     //
     // panel2
     //
     this.panel2.Controls.Add(this.btnRefresh);
     this.panel2.Controls.Add(this.panOk);
     this.panel2.Controls.Add(this.panCancel);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.panel2.Location = new System.Drawing.Point(0, 472);
     this.panel2.Margin   = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(755, 47);
     this.panel2.TabIndex = 6;
     //
     // btnRefresh
     //
     this.btnRefresh.Location = new System.Drawing.Point(16, 10);
     this.btnRefresh.Margin   = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.btnRefresh.Name     = "btnRefresh";
     this.btnRefresh.Size     = new System.Drawing.Size(136, 28);
     this.btnRefresh.TabIndex = 7;
     this.btnRefresh.Text     = "Refresh Views";
     this.btnRefresh.UseVisualStyleBackColor = true;
     this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
     //
     // panOk
     //
     this.panOk.Controls.Add(this.btnOk);
     this.panOk.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panOk.Location = new System.Drawing.Point(513, 0);
     this.panOk.Margin   = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.panOk.Name     = "panOk";
     this.panOk.Size     = new System.Drawing.Size(121, 47);
     this.panOk.TabIndex = 6;
     //
     // btnOk
     //
     this.btnOk.DialogResult            = System.Windows.Forms.DialogResult.OK;
     this.btnOk.Enabled                 = false;
     this.btnOk.Location                = new System.Drawing.Point(4, 10);
     this.btnOk.Margin                  = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.btnOk.Name                    = "btnOk";
     this.btnOk.Size                    = new System.Drawing.Size(100, 28);
     this.btnOk.TabIndex                = 4;
     this.btnOk.Text                    = "OK";
     this.btnOk.UseVisualStyleBackColor = true;
     this.btnOk.Click                  += new System.EventHandler(this.btnOk_Click);
     //
     // panCancel
     //
     this.panCancel.Controls.Add(this.button2);
     this.panCancel.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panCancel.Location = new System.Drawing.Point(634, 0);
     this.panCancel.Margin   = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.panCancel.Name     = "panCancel";
     this.panCancel.Size     = new System.Drawing.Size(121, 47);
     this.panCancel.TabIndex = 5;
     //
     // button2
     //
     this.button2.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.button2.Location                = new System.Drawing.Point(4, 10);
     this.button2.Margin                  = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.button2.Name                    = "button2";
     this.button2.Size                    = new System.Drawing.Size(100, 28);
     this.button2.TabIndex                = 5;
     this.button2.Text                    = "Cancel";
     this.button2.UseVisualStyleBackColor = true;
     //
     // panel3
     //
     this.panel3.Controls.Add(this.txtFetch);
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel3.Location = new System.Drawing.Point(0, 87);
     this.panel3.Margin   = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(755, 385);
     this.panel3.TabIndex = 7;
     //
     // txtFetch
     //
     this.txtFetch.Dock                = System.Windows.Forms.DockStyle.Fill;
     this.txtFetch.Location            = new System.Drawing.Point(0, 0);
     this.txtFetch.Margin              = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.txtFetch.Name                = "txtFetch";
     this.txtFetch.ReadOnly            = true;
     xmlViewerSettings1.AttributeKey   = System.Drawing.Color.Red;
     xmlViewerSettings1.AttributeValue = System.Drawing.Color.Blue;
     xmlViewerSettings1.Comment        = System.Drawing.Color.Empty;
     xmlViewerSettings1.Element        = System.Drawing.Color.DarkRed;
     xmlViewerSettings1.QuoteCharacter = '\"';
     xmlViewerSettings1.Tag            = System.Drawing.Color.Blue;
     xmlViewerSettings1.Value          = System.Drawing.Color.Black;
     this.txtFetch.Settings            = xmlViewerSettings1;
     this.txtFetch.Size                = new System.Drawing.Size(755, 385);
     this.txtFetch.TabIndex            = 3;
     this.txtFetch.Text                = "";
     //
     // SelectViewDialog
     //
     this.AcceptButton        = this.btnOk;
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton        = this.button2;
     this.ClientSize          = new System.Drawing.Size(755, 519);
     this.Controls.Add(this.panel3);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.Name   = "SelectViewDialog";
     this.Text   = "Select View";
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.panel2.ResumeLayout(false);
     this.panOk.ResumeLayout(false);
     this.panCancel.ResumeLayout(false);
     this.panel3.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #8
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(XmlContentDisplayDialog));
     CSRichTextBoxSyntaxHighlighting.XMLViewerSettings xmlViewerSettings1 = new CSRichTextBoxSyntaxHighlighting.XMLViewerSettings();
     this.panBottom = new System.Windows.Forms.Panel();
     this.btnExecute = new System.Windows.Forms.Button();
     this.panOk = new System.Windows.Forms.Panel();
     this.btnOk = new System.Windows.Forms.Button();
     this.panCancel = new System.Windows.Forms.Panel();
     this.btnCancel = new System.Windows.Forms.Button();
     this.btnFormat = new System.Windows.Forms.Button();
     this.txtXML = new CSRichTextBoxSyntaxHighlighting.XMLViewer();
     this.panBottom.SuspendLayout();
     this.panOk.SuspendLayout();
     this.panCancel.SuspendLayout();
     this.SuspendLayout();
     //
     // panBottom
     //
     this.panBottom.BackColor = System.Drawing.SystemColors.Control;
     this.panBottom.Controls.Add(this.btnExecute);
     this.panBottom.Controls.Add(this.panOk);
     this.panBottom.Controls.Add(this.panCancel);
     this.panBottom.Controls.Add(this.btnFormat);
     this.panBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.panBottom.Location = new System.Drawing.Point(0, 667);
     this.panBottom.Name = "panBottom";
     this.panBottom.Size = new System.Drawing.Size(809, 38);
     this.panBottom.TabIndex = 4;
     //
     // btnExecute
     //
     this.btnExecute.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.btnExecute.Image = ((System.Drawing.Image)(resources.GetObject("btnExecute.Image")));
     this.btnExecute.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.btnExecute.Location = new System.Drawing.Point(93, 8);
     this.btnExecute.Name = "btnExecute";
     this.btnExecute.Size = new System.Drawing.Size(99, 23);
     this.btnExecute.TabIndex = 5;
     this.btnExecute.Text = "Execute XML";
     this.btnExecute.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnExecute.UseVisualStyleBackColor = true;
     this.btnExecute.Click += new System.EventHandler(this.btnExecute_Click);
     //
     // panOk
     //
     this.panOk.Controls.Add(this.btnOk);
     this.panOk.Dock = System.Windows.Forms.DockStyle.Right;
     this.panOk.Location = new System.Drawing.Point(627, 0);
     this.panOk.Name = "panOk";
     this.panOk.Size = new System.Drawing.Size(91, 38);
     this.panOk.TabIndex = 4;
     //
     // btnOk
     //
     this.btnOk.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.btnOk.Location = new System.Drawing.Point(3, 8);
     this.btnOk.Name = "btnOk";
     this.btnOk.Size = new System.Drawing.Size(75, 23);
     this.btnOk.TabIndex = 3;
     this.btnOk.Text = "&OK";
     this.btnOk.UseVisualStyleBackColor = true;
     this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
     //
     // panCancel
     //
     this.panCancel.Controls.Add(this.btnCancel);
     this.panCancel.Dock = System.Windows.Forms.DockStyle.Right;
     this.panCancel.Location = new System.Drawing.Point(718, 0);
     this.panCancel.Name = "panCancel";
     this.panCancel.Size = new System.Drawing.Size(91, 38);
     this.panCancel.TabIndex = 3;
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location = new System.Drawing.Point(3, 8);
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.Size = new System.Drawing.Size(75, 23);
     this.btnCancel.TabIndex = 4;
     this.btnCancel.Text = "Cancel";
     this.btnCancel.UseVisualStyleBackColor = true;
     this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
     //
     // btnFormat
     //
     this.btnFormat.Location = new System.Drawing.Point(12, 8);
     this.btnFormat.Name = "btnFormat";
     this.btnFormat.Size = new System.Drawing.Size(75, 23);
     this.btnFormat.TabIndex = 2;
     this.btnFormat.Text = "Format XML";
     this.btnFormat.UseVisualStyleBackColor = true;
     this.btnFormat.Click += new System.EventHandler(this.button3_Click);
     //
     // txtXML
     //
     this.txtXML.Dock = System.Windows.Forms.DockStyle.Fill;
     this.txtXML.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtXML.Location = new System.Drawing.Point(0, 0);
     this.txtXML.Name = "txtXML";
     xmlViewerSettings1.AttributeKey = System.Drawing.Color.Red;
     xmlViewerSettings1.AttributeValue = System.Drawing.Color.Blue;
     xmlViewerSettings1.Comment = System.Drawing.Color.Green;
     xmlViewerSettings1.Element = System.Drawing.Color.DarkRed;
     xmlViewerSettings1.Tag = System.Drawing.Color.Blue;
     xmlViewerSettings1.Value = System.Drawing.Color.Black;
     this.txtXML.Settings = xmlViewerSettings1;
     this.txtXML.Size = new System.Drawing.Size(809, 667);
     this.txtXML.TabIndex = 1;
     this.txtXML.Text = "";
     //
     // XmlContentDisplayDialog
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton = this.btnCancel;
     this.ClientSize = new System.Drawing.Size(809, 705);
     this.Controls.Add(this.txtXML);
     this.Controls.Add(this.panBottom);
     this.KeyPreview = true;
     this.Name = "XmlContentDisplayDialog";
     this.ShowIcon = false;
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.XmlContentDisplayDialog_FormClosing);
     this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.XmlContentDisplayDialog_KeyDown);
     this.panBottom.ResumeLayout(false);
     this.panOk.ResumeLayout(false);
     this.panCancel.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #9
0
 /// <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();
     System.ComponentModel.ComponentResourceManager    resources          = new System.ComponentModel.ComponentResourceManager(typeof(XmlContentControl));
     CSRichTextBoxSyntaxHighlighting.XMLViewerSettings xmlViewerSettings1 = new CSRichTextBoxSyntaxHighlighting.XMLViewerSettings();
     this.btnSave            = new System.Windows.Forms.Button();
     this.btnExecute         = new System.Windows.Forms.Button();
     this.btnParseQE         = new System.Windows.Forms.Button();
     this.btnOk              = new System.Windows.Forms.Button();
     this.panCancel          = new System.Windows.Forms.Panel();
     this.btnCancel          = new System.Windows.Forms.Button();
     this.txtXML             = new CSRichTextBoxSyntaxHighlighting.XMLViewer();
     this.panActions         = new System.Windows.Forms.Panel();
     this.gbActions          = new System.Windows.Forms.GroupBox();
     this.lblActionsExpander = new System.Windows.Forms.Label();
     this.panExecute         = new System.Windows.Forms.Panel();
     this.panParseQE         = new System.Windows.Forms.Panel();
     this.panSave            = new System.Windows.Forms.Panel();
     this.panOk              = new System.Windows.Forms.Panel();
     this.panLiveUpdate      = new System.Windows.Forms.Panel();
     this.chkLiveUpdate      = new System.Windows.Forms.CheckBox();
     this.panFormatting      = new System.Windows.Forms.Panel();
     this.gbFormatting       = new System.Windows.Forms.GroupBox();
     this.lblFormatExpander  = new System.Windows.Forms.Label();
     this.rbFormatMini       = new System.Windows.Forms.RadioButton();
     this.rbFormatEsc        = new System.Windows.Forms.RadioButton();
     this.rbFormatHTML       = new System.Windows.Forms.RadioButton();
     this.rbFormatXML        = new System.Windows.Forms.RadioButton();
     this.btnFormat          = new System.Windows.Forms.Button();
     this.tt = new System.Windows.Forms.ToolTip(this.components);
     this.panCancel.SuspendLayout();
     this.panActions.SuspendLayout();
     this.gbActions.SuspendLayout();
     this.panExecute.SuspendLayout();
     this.panParseQE.SuspendLayout();
     this.panSave.SuspendLayout();
     this.panOk.SuspendLayout();
     this.panLiveUpdate.SuspendLayout();
     this.panFormatting.SuspendLayout();
     this.gbFormatting.SuspendLayout();
     this.SuspendLayout();
     //
     // btnSave
     //
     this.btnSave.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnSave.Location = new System.Drawing.Point(6, 0);
     this.btnSave.Name     = "btnSave";
     this.btnSave.Size     = new System.Drawing.Size(75, 23);
     this.btnSave.TabIndex = 6;
     this.btnSave.Text     = "Save...";
     this.btnSave.UseVisualStyleBackColor = true;
     this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
     //
     // btnExecute
     //
     this.btnExecute.DialogResult            = System.Windows.Forms.DialogResult.OK;
     this.btnExecute.Image                   = ((System.Drawing.Image)(resources.GetObject("btnExecute.Image")));
     this.btnExecute.ImageAlign              = System.Drawing.ContentAlignment.MiddleRight;
     this.btnExecute.Location                = new System.Drawing.Point(6, 0);
     this.btnExecute.Name                    = "btnExecute";
     this.btnExecute.Size                    = new System.Drawing.Size(99, 23);
     this.btnExecute.TabIndex                = 5;
     this.btnExecute.Text                    = "Execute";
     this.btnExecute.TextAlign               = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnExecute.UseVisualStyleBackColor = true;
     this.btnExecute.Click                  += new System.EventHandler(this.btnExecute_Click);
     //
     // btnParseQE
     //
     this.btnParseQE.DialogResult            = System.Windows.Forms.DialogResult.OK;
     this.btnParseQE.Location                = new System.Drawing.Point(6, 0);
     this.btnParseQE.Name                    = "btnParseQE";
     this.btnParseQE.Size                    = new System.Drawing.Size(75, 23);
     this.btnParseQE.TabIndex                = 3;
     this.btnParseQE.Text                    = "Parse";
     this.btnParseQE.UseVisualStyleBackColor = true;
     this.btnParseQE.Click                  += new System.EventHandler(this.btnParseQE_Click);
     //
     // btnOk
     //
     this.btnOk.DialogResult            = System.Windows.Forms.DialogResult.OK;
     this.btnOk.Location                = new System.Drawing.Point(6, 0);
     this.btnOk.Name                    = "btnOk";
     this.btnOk.Size                    = new System.Drawing.Size(75, 23);
     this.btnOk.TabIndex                = 3;
     this.btnOk.Text                    = "&OK";
     this.btnOk.UseVisualStyleBackColor = true;
     this.btnOk.Click                  += new System.EventHandler(this.btnOk_Click);
     //
     // panCancel
     //
     this.panCancel.Controls.Add(this.btnCancel);
     this.panCancel.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panCancel.Location = new System.Drawing.Point(590, 16);
     this.panCancel.Name     = "panCancel";
     this.panCancel.Size     = new System.Drawing.Size(91, 28);
     this.panCancel.TabIndex = 4;
     this.panCancel.Visible  = false;
     //
     // btnCancel
     //
     this.btnCancel.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location                = new System.Drawing.Point(6, 0);
     this.btnCancel.Name                    = "btnCancel";
     this.btnCancel.Size                    = new System.Drawing.Size(75, 23);
     this.btnCancel.TabIndex                = 4;
     this.btnCancel.Text                    = "Close";
     this.btnCancel.UseVisualStyleBackColor = true;
     this.btnCancel.Click                  += new System.EventHandler(this.btnCancel_Click);
     //
     // txtXML
     //
     this.txtXML.BorderStyle           = System.Windows.Forms.BorderStyle.None;
     this.txtXML.Dock                  = System.Windows.Forms.DockStyle.Fill;
     this.txtXML.Font                  = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtXML.Location              = new System.Drawing.Point(0, 0);
     this.txtXML.Name                  = "txtXML";
     xmlViewerSettings1.AttributeKey   = System.Drawing.Color.Blue;
     xmlViewerSettings1.AttributeValue = System.Drawing.Color.DarkRed;
     xmlViewerSettings1.Comment        = System.Drawing.Color.Gray;
     xmlViewerSettings1.Element        = System.Drawing.Color.DarkGreen;
     xmlViewerSettings1.FontName       = "Consolas";
     xmlViewerSettings1.FontSize       = 9F;
     xmlViewerSettings1.QuoteCharacter = '\"';
     xmlViewerSettings1.Tag            = System.Drawing.Color.ForestGreen;
     xmlViewerSettings1.Value          = System.Drawing.Color.Black;
     this.txtXML.Settings              = xmlViewerSettings1;
     this.txtXML.Size                  = new System.Drawing.Size(682, 265);
     this.txtXML.TabIndex              = 0;
     this.txtXML.Text                  = "";
     this.txtXML.TextChanged          += new System.EventHandler(this.txtXML_TextChanged);
     //
     // panActions
     //
     this.panActions.Controls.Add(this.gbActions);
     this.panActions.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.panActions.Location = new System.Drawing.Point(0, 309);
     this.panActions.Name     = "panActions";
     this.panActions.Size     = new System.Drawing.Size(682, 50);
     this.panActions.TabIndex = 10;
     //
     // gbActions
     //
     this.gbActions.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.gbActions.Controls.Add(this.lblActionsExpander);
     this.gbActions.Controls.Add(this.panExecute);
     this.gbActions.Controls.Add(this.panParseQE);
     this.gbActions.Controls.Add(this.panSave);
     this.gbActions.Controls.Add(this.panOk);
     this.gbActions.Controls.Add(this.panCancel);
     this.gbActions.Controls.Add(this.panLiveUpdate);
     this.gbActions.Location = new System.Drawing.Point(-1, 4);
     this.gbActions.Name     = "gbActions";
     this.gbActions.Size     = new System.Drawing.Size(684, 47);
     this.gbActions.TabIndex = 4;
     this.gbActions.TabStop  = false;
     this.gbActions.Text     = "Actions";
     //
     // lblActionsExpander
     //
     this.lblActionsExpander.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.lblActionsExpander.AutoSize = true;
     this.lblActionsExpander.Cursor   = System.Windows.Forms.Cursors.Hand;
     this.lblActionsExpander.Location = new System.Drawing.Point(662, 0);
     this.lblActionsExpander.Name     = "lblActionsExpander";
     this.lblActionsExpander.Padding  = new System.Windows.Forms.Padding(1, 0, 1, 0);
     this.lblActionsExpander.Size     = new System.Drawing.Size(14, 13);
     this.lblActionsExpander.TabIndex = 7;
     this.lblActionsExpander.Text     = "–";
     this.lblActionsExpander.Click   += new System.EventHandler(this.llGroupBoxExpander_Clicked);
     //
     // panExecute
     //
     this.panExecute.Controls.Add(this.btnExecute);
     this.panExecute.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panExecute.Location = new System.Drawing.Point(203, 16);
     this.panExecute.Name     = "panExecute";
     this.panExecute.Size     = new System.Drawing.Size(114, 28);
     this.panExecute.TabIndex = 1;
     //
     // panParseQE
     //
     this.panParseQE.Controls.Add(this.btnParseQE);
     this.panParseQE.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panParseQE.Location = new System.Drawing.Point(317, 16);
     this.panParseQE.Name     = "panParseQE";
     this.panParseQE.Size     = new System.Drawing.Size(91, 28);
     this.panParseQE.TabIndex = 1;
     //
     // panSave
     //
     this.panSave.Controls.Add(this.btnSave);
     this.panSave.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panSave.Location = new System.Drawing.Point(408, 16);
     this.panSave.Name     = "panSave";
     this.panSave.Size     = new System.Drawing.Size(91, 28);
     this.panSave.TabIndex = 2;
     //
     // panOk
     //
     this.panOk.Controls.Add(this.btnOk);
     this.panOk.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panOk.Location = new System.Drawing.Point(499, 16);
     this.panOk.Name     = "panOk";
     this.panOk.Size     = new System.Drawing.Size(91, 28);
     this.panOk.TabIndex = 3;
     //
     // panLiveUpdate
     //
     this.panLiveUpdate.Controls.Add(this.chkLiveUpdate);
     this.panLiveUpdate.Dock     = System.Windows.Forms.DockStyle.Left;
     this.panLiveUpdate.Location = new System.Drawing.Point(3, 16);
     this.panLiveUpdate.Name     = "panLiveUpdate";
     this.panLiveUpdate.Size     = new System.Drawing.Size(131, 28);
     this.panLiveUpdate.TabIndex = 5;
     //
     // chkLiveUpdate
     //
     this.chkLiveUpdate.AutoSize = true;
     this.chkLiveUpdate.Location = new System.Drawing.Point(13, 4);
     this.chkLiveUpdate.Name     = "chkLiveUpdate";
     this.chkLiveUpdate.Size     = new System.Drawing.Size(115, 17);
     this.chkLiveUpdate.TabIndex = 0;
     this.chkLiveUpdate.Text     = "Live Update Query";
     this.chkLiveUpdate.UseVisualStyleBackColor = true;
     this.chkLiveUpdate.CheckedChanged         += new System.EventHandler(this.chkLiveUpdate_CheckedChanged);
     //
     // panFormatting
     //
     this.panFormatting.Controls.Add(this.gbFormatting);
     this.panFormatting.Dock        = System.Windows.Forms.DockStyle.Bottom;
     this.panFormatting.Location    = new System.Drawing.Point(0, 265);
     this.panFormatting.MaximumSize = new System.Drawing.Size(10000, 44);
     this.panFormatting.Name        = "panFormatting";
     this.panFormatting.Size        = new System.Drawing.Size(682, 44);
     this.panFormatting.TabIndex    = 7;
     //
     // gbFormatting
     //
     this.gbFormatting.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.gbFormatting.Controls.Add(this.lblFormatExpander);
     this.gbFormatting.Controls.Add(this.rbFormatMini);
     this.gbFormatting.Controls.Add(this.rbFormatEsc);
     this.gbFormatting.Controls.Add(this.rbFormatHTML);
     this.gbFormatting.Controls.Add(this.rbFormatXML);
     this.gbFormatting.Controls.Add(this.btnFormat);
     this.gbFormatting.Location = new System.Drawing.Point(-1, 3);
     this.gbFormatting.Name     = "gbFormatting";
     this.gbFormatting.Size     = new System.Drawing.Size(684, 43);
     this.gbFormatting.TabIndex = 4;
     this.gbFormatting.TabStop  = false;
     this.gbFormatting.Text     = "Formatting";
     //
     // lblFormatExpander
     //
     this.lblFormatExpander.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.lblFormatExpander.AutoSize = true;
     this.lblFormatExpander.Cursor   = System.Windows.Forms.Cursors.Hand;
     this.lblFormatExpander.Location = new System.Drawing.Point(662, 0);
     this.lblFormatExpander.Name     = "lblFormatExpander";
     this.lblFormatExpander.Padding  = new System.Windows.Forms.Padding(1, 0, 1, 0);
     this.lblFormatExpander.Size     = new System.Drawing.Size(14, 13);
     this.lblFormatExpander.TabIndex = 6;
     this.lblFormatExpander.Text     = "–";
     this.lblFormatExpander.Click   += new System.EventHandler(this.llGroupBoxExpander_Clicked);
     //
     // rbFormatMini
     //
     this.rbFormatMini.AutoSize = true;
     this.rbFormatMini.Location = new System.Drawing.Point(179, 19);
     this.rbFormatMini.Name     = "rbFormatMini";
     this.rbFormatMini.Size     = new System.Drawing.Size(44, 17);
     this.rbFormatMini.TabIndex = 5;
     this.rbFormatMini.TabStop  = true;
     this.rbFormatMini.Text     = "Mini";
     this.rbFormatMini.UseVisualStyleBackColor = true;
     this.rbFormatMini.Click += new System.EventHandler(this.rbFormatMini_Click);
     //
     // rbFormatEsc
     //
     this.rbFormatEsc.AutoSize = true;
     this.rbFormatEsc.Location = new System.Drawing.Point(130, 19);
     this.rbFormatEsc.Name     = "rbFormatEsc";
     this.rbFormatEsc.Size     = new System.Drawing.Size(43, 17);
     this.rbFormatEsc.TabIndex = 3;
     this.rbFormatEsc.TabStop  = true;
     this.rbFormatEsc.Text     = "Esc";
     this.rbFormatEsc.UseVisualStyleBackColor = true;
     this.rbFormatEsc.Click += new System.EventHandler(this.rbFormatEsc_Click);
     //
     // rbFormatHTML
     //
     this.rbFormatHTML.AutoSize = true;
     this.rbFormatHTML.Location = new System.Drawing.Point(69, 19);
     this.rbFormatHTML.Name     = "rbFormatHTML";
     this.rbFormatHTML.Size     = new System.Drawing.Size(55, 17);
     this.rbFormatHTML.TabIndex = 2;
     this.rbFormatHTML.TabStop  = true;
     this.rbFormatHTML.Text     = "HTML";
     this.rbFormatHTML.UseVisualStyleBackColor = true;
     this.rbFormatHTML.Click += new System.EventHandler(this.rbFormatHTML_Click);
     //
     // rbFormatXML
     //
     this.rbFormatXML.AutoSize = true;
     this.rbFormatXML.Location = new System.Drawing.Point(16, 19);
     this.rbFormatXML.Name     = "rbFormatXML";
     this.rbFormatXML.Size     = new System.Drawing.Size(47, 17);
     this.rbFormatXML.TabIndex = 1;
     this.rbFormatXML.TabStop  = true;
     this.rbFormatXML.Text     = "XML";
     this.rbFormatXML.UseVisualStyleBackColor = true;
     this.rbFormatXML.Click += new System.EventHandler(this.rbFormatXML_Click);
     //
     // btnFormat
     //
     this.btnFormat.Location = new System.Drawing.Point(267, 16);
     this.btnFormat.Name     = "btnFormat";
     this.btnFormat.Size     = new System.Drawing.Size(75, 23);
     this.btnFormat.TabIndex = 4;
     this.btnFormat.Text     = "Format";
     this.btnFormat.UseVisualStyleBackColor = true;
     this.btnFormat.Click += new System.EventHandler(this.btnFormat_Click);
     //
     // XmlContentControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.SystemColors.Window;
     this.CancelButton        = this.btnCancel;
     this.ClientSize          = new System.Drawing.Size(682, 359);
     this.Controls.Add(this.txtXML);
     this.Controls.Add(this.panFormatting);
     this.Controls.Add(this.panActions);
     this.DockAreas = ((WeifenLuo.WinFormsUI.Docking.DockAreas)((((WeifenLuo.WinFormsUI.Docking.DockAreas.Float | WeifenLuo.WinFormsUI.Docking.DockAreas.DockLeft)
                                                                  | WeifenLuo.WinFormsUI.Docking.DockAreas.DockRight)
                                                                 | WeifenLuo.WinFormsUI.Docking.DockAreas.Document)));
     this.HideOnClose       = true;
     this.KeyPreview        = true;
     this.Name              = "XmlContentControl";
     this.DockStateChanged += new System.EventHandler(this.XmlContentDisplayDialog_DockStateChanged);
     this.FormClosing      += new System.Windows.Forms.FormClosingEventHandler(this.XmlContentDisplayDialog_FormClosing);
     this.Load             += new System.EventHandler(this.XmlContentDisplayDialog_Load);
     this.VisibleChanged   += new System.EventHandler(this.XmlContentDisplayDialog_VisibleChanged);
     this.KeyDown          += new System.Windows.Forms.KeyEventHandler(this.XmlContentDisplayDialog_KeyDown);
     this.panCancel.ResumeLayout(false);
     this.panActions.ResumeLayout(false);
     this.gbActions.ResumeLayout(false);
     this.gbActions.PerformLayout();
     this.panExecute.ResumeLayout(false);
     this.panParseQE.ResumeLayout(false);
     this.panSave.ResumeLayout(false);
     this.panOk.ResumeLayout(false);
     this.panLiveUpdate.ResumeLayout(false);
     this.panLiveUpdate.PerformLayout();
     this.panFormatting.ResumeLayout(false);
     this.gbFormatting.ResumeLayout(false);
     this.gbFormatting.PerformLayout();
     this.ResumeLayout(false);
 }
コード例 #10
0
 /// <summary>
 /// Méthode requise pour la prise en charge du concepteur - ne modifiez pas
 /// le contenu de cette méthode avec l'éditeur de code.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager    resources           = new System.ComponentModel.ComponentResourceManager(typeof(RegisterPlugins));
     CSRichTextBoxSyntaxHighlighting.XMLViewerSettings xmlViewerSettings11 = new CSRichTextBoxSyntaxHighlighting.XMLViewerSettings();
     this.toolStripMenu           = new System.Windows.Forms.ToolStrip();
     this.tsbClose                = new System.Windows.Forms.ToolStripButton();
     this.tssSeparator1           = new System.Windows.Forms.ToolStripSeparator();
     this.tsbSample               = new System.Windows.Forms.ToolStripButton();
     this.ofdBrowsePlugInAssembly = new System.Windows.Forms.OpenFileDialog();
     this.lblPlugInPath           = new System.Windows.Forms.Label();
     this.btnAddUpdatePlugin      = new System.Windows.Forms.Button();
     this.btnBrowse               = new System.Windows.Forms.Button();
     this.rtbPlugInAssemblyPath   = new System.Windows.Forms.RichTextBox();
     this.pnlAddOrUpdatePlugIn    = new System.Windows.Forms.Panel();
     this.panel2                        = new System.Windows.Forms.Panel();
     this.ofdPlugInFolder               = new System.Windows.Forms.OpenFileDialog();
     this.rtbAssemblyPath               = new System.Windows.Forms.RichTextBox();
     this.lblSolutionName               = new System.Windows.Forms.Label();
     this.label2                        = new System.Windows.Forms.Label();
     this.rtbSolutionName               = new System.Windows.Forms.RichTextBox();
     this.btnProcessRegistration        = new System.Windows.Forms.Button();
     this.lblRegistrationSteps          = new System.Windows.Forms.Label();
     this.rtbRegistrationSteps          = new CSRichTextBoxSyntaxHighlighting.XMLViewer();
     this.label3                        = new System.Windows.Forms.Label();
     this.label4                        = new System.Windows.Forms.Label();
     this.label5                        = new System.Windows.Forms.Label();
     this.brnBrowsePluginAssemblyFolder = new System.Windows.Forms.Button();
     this.panel1                        = new System.Windows.Forms.Panel();
     this.lblLoggingDetails             = new System.Windows.Forms.Label();
     this.rtbLogMessages                = new System.Windows.Forms.RichTextBox();
     this.toolStripMenu.SuspendLayout();
     this.pnlAddOrUpdatePlugIn.SuspendLayout();
     this.panel2.SuspendLayout();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // toolStripMenu
     //
     this.toolStripMenu.ImageScalingSize = new System.Drawing.Size(24, 24);
     this.toolStripMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.tsbClose,
         this.tssSeparator1,
         this.tsbSample
     });
     this.toolStripMenu.Location = new System.Drawing.Point(0, 0);
     this.toolStripMenu.Name     = "toolStripMenu";
     this.toolStripMenu.Size     = new System.Drawing.Size(932, 25);
     this.toolStripMenu.TabIndex = 4;
     this.toolStripMenu.Text     = "toolStrip1";
     //
     // tsbClose
     //
     this.tsbClose.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.tsbClose.Image        = ((System.Drawing.Image)(resources.GetObject("tsbClose.Image")));
     this.tsbClose.ImageAlign   = System.Drawing.ContentAlignment.BottomCenter;
     this.tsbClose.Name         = "tsbClose";
     this.tsbClose.Size         = new System.Drawing.Size(86, 22);
     this.tsbClose.Text         = "Close this tool";
     this.tsbClose.Click       += new System.EventHandler(this.tsbClose_Click);
     //
     // tssSeparator1
     //
     this.tssSeparator1.Name = "tssSeparator1";
     this.tssSeparator1.Size = new System.Drawing.Size(6, 25);
     //
     // tsbSample
     //
     this.tsbSample.Name = "tsbSample";
     this.tsbSample.Size = new System.Drawing.Size(23, 22);
     //
     // ofdBrowsePlugInAssembly
     //
     this.ofdBrowsePlugInAssembly.FileName = "openFileDialog1";
     //
     // lblPlugInPath
     //
     this.lblPlugInPath.AutoSize  = true;
     this.lblPlugInPath.ForeColor = System.Drawing.Color.Brown;
     this.lblPlugInPath.Location  = new System.Drawing.Point(1, 10);
     this.lblPlugInPath.Name      = "lblPlugInPath";
     this.lblPlugInPath.Size      = new System.Drawing.Size(127, 13);
     this.lblPlugInPath.TabIndex  = 17;
     this.lblPlugInPath.Text      = "Plugin Assembly Full Path";
     //
     // btnAddUpdatePlugin
     //
     this.btnAddUpdatePlugin.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                            | System.Windows.Forms.AnchorStyles.Right)));
     this.btnAddUpdatePlugin.AutoSizeMode            = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.btnAddUpdatePlugin.Location                = new System.Drawing.Point(299, 90);
     this.btnAddUpdatePlugin.Name                    = "btnAddUpdatePlugin";
     this.btnAddUpdatePlugin.Size                    = new System.Drawing.Size(277, 37);
     this.btnAddUpdatePlugin.TabIndex                = 16;
     this.btnAddUpdatePlugin.Text                    = "Add/Update PlugIn Assembly";
     this.btnAddUpdatePlugin.UseVisualStyleBackColor = true;
     this.btnAddUpdatePlugin.Click                  += new System.EventHandler(this.btnAddUpdatePlugin_Click);
     //
     // btnBrowse
     //
     this.btnBrowse.Anchor                  = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnBrowse.AutoSizeMode            = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.btnBrowse.Location                = new System.Drawing.Point(794, 35);
     this.btnBrowse.Name                    = "btnBrowse";
     this.btnBrowse.Size                    = new System.Drawing.Size(111, 32);
     this.btnBrowse.TabIndex                = 19;
     this.btnBrowse.Text                    = "Browse";
     this.btnBrowse.UseVisualStyleBackColor = true;
     this.btnBrowse.Click                  += new System.EventHandler(this.btnBrowse_Click);
     //
     // rtbPlugInAssemblyPath
     //
     this.rtbPlugInAssemblyPath.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.rtbPlugInAssemblyPath.BackColor = System.Drawing.Color.Silver;
     this.rtbPlugInAssemblyPath.Enabled   = false;
     this.rtbPlugInAssemblyPath.Location  = new System.Drawing.Point(4, 35);
     this.rtbPlugInAssemblyPath.Name      = "rtbPlugInAssemblyPath";
     this.rtbPlugInAssemblyPath.Size      = new System.Drawing.Size(784, 32);
     this.rtbPlugInAssemblyPath.TabIndex  = 18;
     this.rtbPlugInAssemblyPath.Text      = "";
     //
     // pnlAddOrUpdatePlugIn
     //
     this.pnlAddOrUpdatePlugIn.AccessibleName = "";
     this.pnlAddOrUpdatePlugIn.Anchor         = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.pnlAddOrUpdatePlugIn.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.pnlAddOrUpdatePlugIn.BorderStyle  = System.Windows.Forms.BorderStyle.Fixed3D;
     this.pnlAddOrUpdatePlugIn.Controls.Add(this.btnBrowse);
     this.pnlAddOrUpdatePlugIn.Controls.Add(this.lblPlugInPath);
     this.pnlAddOrUpdatePlugIn.Controls.Add(this.rtbPlugInAssemblyPath);
     this.pnlAddOrUpdatePlugIn.Controls.Add(this.btnAddUpdatePlugin);
     this.pnlAddOrUpdatePlugIn.Location = new System.Drawing.Point(3, 461);
     this.pnlAddOrUpdatePlugIn.Name     = "pnlAddOrUpdatePlugIn";
     this.pnlAddOrUpdatePlugIn.Size     = new System.Drawing.Size(923, 150);
     this.pnlAddOrUpdatePlugIn.TabIndex = 21;
     //
     // panel2
     //
     this.panel2.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.panel2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.panel2.BorderStyle  = System.Windows.Forms.BorderStyle.Fixed3D;
     this.panel2.Controls.Add(this.lblLoggingDetails);
     this.panel2.Controls.Add(this.rtbLogMessages);
     this.panel2.Location = new System.Drawing.Point(3, 627);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(923, 157);
     this.panel2.TabIndex = 23;
     //
     // rtbAssemblyPath
     //
     this.rtbAssemblyPath.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                         | System.Windows.Forms.AnchorStyles.Right)));
     this.rtbAssemblyPath.BackColor = System.Drawing.Color.Silver;
     this.rtbAssemblyPath.Enabled   = false;
     this.rtbAssemblyPath.Location  = new System.Drawing.Point(3, 237);
     this.rtbAssemblyPath.Name      = "rtbAssemblyPath";
     this.rtbAssemblyPath.Size      = new System.Drawing.Size(785, 32);
     this.rtbAssemblyPath.TabIndex  = 13;
     this.rtbAssemblyPath.Text      = "";
     //
     // lblSolutionName
     //
     this.lblSolutionName.AutoSize = true;
     this.lblSolutionName.Location = new System.Drawing.Point(-307, 292);
     this.lblSolutionName.Name     = "lblSolutionName";
     this.lblSolutionName.Size     = new System.Drawing.Size(76, 13);
     this.lblSolutionName.TabIndex = 14;
     this.lblSolutionName.Text     = "Solution Name";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(-311, 215);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(160, 13);
     this.label2.TabIndex = 12;
     this.label2.Text     = "PlugIn Assembly Folder Location";
     //
     // rtbSolutionName
     //
     this.rtbSolutionName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                         | System.Windows.Forms.AnchorStyles.Right)));
     this.rtbSolutionName.Location = new System.Drawing.Point(3, 309);
     this.rtbSolutionName.Name     = "rtbSolutionName";
     this.rtbSolutionName.Size     = new System.Drawing.Size(901, 32);
     this.rtbSolutionName.TabIndex = 15;
     this.rtbSolutionName.Text     = "";
     //
     // btnProcessRegistration
     //
     this.btnProcessRegistration.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.btnProcessRegistration.Location = new System.Drawing.Point(299, 353);
     this.btnProcessRegistration.Name     = "btnProcessRegistration";
     this.btnProcessRegistration.Size     = new System.Drawing.Size(277, 36);
     this.btnProcessRegistration.TabIndex = 9;
     this.btnProcessRegistration.Text     = "Add/Update PlugIn Assembly and Register Steps";
     this.btnProcessRegistration.UseVisualStyleBackColor = true;
     this.btnProcessRegistration.Click += new System.EventHandler(this.btnProcessRegistration_Click);
     //
     // lblRegistrationSteps
     //
     this.lblRegistrationSteps.AutoSize = true;
     this.lblRegistrationSteps.Location = new System.Drawing.Point(-319, -107);
     this.lblRegistrationSteps.Name     = "lblRegistrationSteps";
     this.lblRegistrationSteps.Size     = new System.Drawing.Size(156, 13);
     this.lblRegistrationSteps.TabIndex = 8;
     this.lblRegistrationSteps.Text     = "Enter Plugin Regristration Steps";
     //
     // rtbRegistrationSteps
     //
     this.rtbRegistrationSteps.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.rtbRegistrationSteps.Location = new System.Drawing.Point(4, 21);
     this.rtbRegistrationSteps.Name     = "rtbRegistrationSteps";
     xmlViewerSettings11.AttributeKey   = System.Drawing.Color.Red;
     xmlViewerSettings11.AttributeValue = System.Drawing.Color.Blue;
     xmlViewerSettings11.Element        = System.Drawing.Color.DarkRed;
     xmlViewerSettings11.Tag            = System.Drawing.Color.Blue;
     xmlViewerSettings11.Value          = System.Drawing.Color.Black;
     this.rtbRegistrationSteps.Settings = xmlViewerSettings11;
     this.rtbRegistrationSteps.Size     = new System.Drawing.Size(901, 187);
     this.rtbRegistrationSteps.TabIndex = 1;
     this.rtbRegistrationSteps.Text     = "";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(3, 288);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(76, 13);
     this.label3.TabIndex = 21;
     this.label3.Text     = "Solution Name";
     //
     // label4
     //
     this.label4.AutoSize  = true;
     this.label4.ForeColor = System.Drawing.Color.Brown;
     this.label4.Location  = new System.Drawing.Point(3, 218);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(159, 13);
     this.label4.TabIndex  = 22;
     this.label4.Text      = "Plugin Assembly Folder Location";
     //
     // label5
     //
     this.label5.AutoSize  = true;
     this.label5.ForeColor = System.Drawing.Color.Brown;
     this.label5.Location  = new System.Drawing.Point(3, 3);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(152, 13);
     this.label5.TabIndex  = 23;
     this.label5.Text      = "Plugin Registration Steps/XML";
     //
     // brnBrowsePluginAssemblyFolder
     //
     this.brnBrowsePluginAssemblyFolder.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.brnBrowsePluginAssemblyFolder.Location = new System.Drawing.Point(794, 237);
     this.brnBrowsePluginAssemblyFolder.Name     = "brnBrowsePluginAssemblyFolder";
     this.brnBrowsePluginAssemblyFolder.Size     = new System.Drawing.Size(111, 32);
     this.brnBrowsePluginAssemblyFolder.TabIndex = 24;
     this.brnBrowsePluginAssemblyFolder.Text     = "Browse";
     this.brnBrowsePluginAssemblyFolder.UseVisualStyleBackColor = true;
     this.brnBrowsePluginAssemblyFolder.Click += new System.EventHandler(this.brnBrowsePluginAssemblyFolder_Click);
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.panel1.BorderStyle  = System.Windows.Forms.BorderStyle.Fixed3D;
     this.panel1.Controls.Add(this.brnBrowsePluginAssemblyFolder);
     this.panel1.Controls.Add(this.label5);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.btnProcessRegistration);
     this.panel1.Controls.Add(this.rtbRegistrationSteps);
     this.panel1.Controls.Add(this.rtbSolutionName);
     this.panel1.Controls.Add(this.lblRegistrationSteps);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.lblSolutionName);
     this.panel1.Controls.Add(this.rtbAssemblyPath);
     this.panel1.Location = new System.Drawing.Point(3, 33);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(923, 401);
     this.panel1.TabIndex = 1;
     //
     // lblLoggingDetails
     //
     this.lblLoggingDetails.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.lblLoggingDetails.AutoSize = true;
     this.lblLoggingDetails.Location = new System.Drawing.Point(1, 5);
     this.lblLoggingDetails.Name     = "lblLoggingDetails";
     this.lblLoggingDetails.Size     = new System.Drawing.Size(80, 13);
     this.lblLoggingDetails.TabIndex = 24;
     this.lblLoggingDetails.Text     = "Logging Details";
     //
     // rtbLogMessages
     //
     this.rtbLogMessages.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.rtbLogMessages.Location = new System.Drawing.Point(3, 24);
     this.rtbLogMessages.Name     = "rtbLogMessages";
     this.rtbLogMessages.Size     = new System.Drawing.Size(906, 126);
     this.rtbLogMessages.TabIndex = 25;
     this.rtbLogMessages.Text     = "";
     //
     // RegisterPlugins
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoSizeMode        = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.BackColor           = System.Drawing.SystemColors.ActiveBorder;
     this.Controls.Add(this.pnlAddOrUpdatePlugIn);
     this.Controls.Add(this.toolStripMenu);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.Name  = "RegisterPlugins";
     this.Size  = new System.Drawing.Size(932, 795);
     this.Load += new System.EventHandler(this.MyPluginControl_Load);
     this.toolStripMenu.ResumeLayout(false);
     this.toolStripMenu.PerformLayout();
     this.pnlAddOrUpdatePlugIn.ResumeLayout(false);
     this.pnlAddOrUpdatePlugIn.PerformLayout();
     this.panel2.ResumeLayout(false);
     this.panel2.PerformLayout();
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #11
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     CSRichTextBoxSyntaxHighlighting.XMLViewerSettings xmlViewerSettings1 = new CSRichTextBoxSyntaxHighlighting.XMLViewerSettings();
     System.ComponentModel.ComponentResourceManager    resources          = new System.ComponentModel.ComponentResourceManager(typeof(SelectViewDialog));
     this.panel1     = new System.Windows.Forms.Panel();
     this.cmbView    = new System.Windows.Forms.ComboBox();
     this.label3     = new System.Windows.Forms.Label();
     this.label1     = new System.Windows.Forms.Label();
     this.cmbEntity  = new System.Windows.Forms.ComboBox();
     this.panel2     = new System.Windows.Forms.Panel();
     this.btnRefresh = new System.Windows.Forms.Button();
     this.panOk      = new System.Windows.Forms.Panel();
     this.btnOk      = new System.Windows.Forms.Button();
     this.panCancel  = new System.Windows.Forms.Panel();
     this.btnCancel  = new System.Windows.Forms.Button();
     this.panel3     = new System.Windows.Forms.Panel();
     this.txtFetch   = new CSRichTextBoxSyntaxHighlighting.XMLViewer();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.panOk.SuspendLayout();
     this.panCancel.SuspendLayout();
     this.panel3.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Controls.Add(this.cmbView);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.cmbEntity);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(584, 71);
     this.panel1.TabIndex = 5;
     //
     // cmbView
     //
     this.cmbView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.cmbView.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbView.FormattingEnabled = true;
     this.cmbView.Location          = new System.Drawing.Point(112, 39);
     this.cmbView.Name                  = "cmbView";
     this.cmbView.Size                  = new System.Drawing.Size(460, 21);
     this.cmbView.TabIndex              = 2;
     this.cmbView.SelectedIndexChanged += new System.EventHandler(this.cmbView_SelectedIndexChanged);
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(12, 42);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(30, 13);
     this.label3.TabIndex = 10;
     this.label3.Text     = "View";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(12, 15);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(33, 13);
     this.label1.TabIndex = 6;
     this.label1.Text     = "Entity";
     //
     // cmbEntity
     //
     this.cmbEntity.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.cmbEntity.AutoCompleteMode   = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
     this.cmbEntity.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
     this.cmbEntity.FormattingEnabled  = true;
     this.cmbEntity.Location           = new System.Drawing.Point(112, 12);
     this.cmbEntity.Name                  = "cmbEntity";
     this.cmbEntity.Size                  = new System.Drawing.Size(460, 21);
     this.cmbEntity.Sorted                = true;
     this.cmbEntity.TabIndex              = 1;
     this.cmbEntity.SelectedIndexChanged += new System.EventHandler(this.cmbEntity_SelectedIndexChanged);
     //
     // panel2
     //
     this.panel2.Controls.Add(this.btnRefresh);
     this.panel2.Controls.Add(this.panOk);
     this.panel2.Controls.Add(this.panCancel);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.panel2.Location = new System.Drawing.Point(0, 323);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(584, 38);
     this.panel2.TabIndex = 6;
     //
     // btnRefresh
     //
     this.btnRefresh.Location = new System.Drawing.Point(12, 8);
     this.btnRefresh.Name     = "btnRefresh";
     this.btnRefresh.Size     = new System.Drawing.Size(102, 23);
     this.btnRefresh.TabIndex = 7;
     this.btnRefresh.Text     = "Refresh Views";
     this.btnRefresh.UseVisualStyleBackColor = true;
     this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
     //
     // panOk
     //
     this.panOk.Controls.Add(this.btnOk);
     this.panOk.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panOk.Location = new System.Drawing.Point(402, 0);
     this.panOk.Name     = "panOk";
     this.panOk.Size     = new System.Drawing.Size(91, 38);
     this.panOk.TabIndex = 6;
     //
     // btnOk
     //
     this.btnOk.DialogResult            = System.Windows.Forms.DialogResult.OK;
     this.btnOk.Enabled                 = false;
     this.btnOk.Location                = new System.Drawing.Point(3, 8);
     this.btnOk.Name                    = "btnOk";
     this.btnOk.Size                    = new System.Drawing.Size(75, 23);
     this.btnOk.TabIndex                = 4;
     this.btnOk.Text                    = "OK";
     this.btnOk.UseVisualStyleBackColor = true;
     this.btnOk.Click                  += new System.EventHandler(this.btnOk_Click);
     //
     // panCancel
     //
     this.panCancel.Controls.Add(this.btnCancel);
     this.panCancel.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panCancel.Location = new System.Drawing.Point(493, 0);
     this.panCancel.Name     = "panCancel";
     this.panCancel.Size     = new System.Drawing.Size(91, 38);
     this.panCancel.TabIndex = 5;
     //
     // btnCancel
     //
     this.btnCancel.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location                = new System.Drawing.Point(3, 8);
     this.btnCancel.Name                    = "btnCancel";
     this.btnCancel.Size                    = new System.Drawing.Size(75, 23);
     this.btnCancel.TabIndex                = 5;
     this.btnCancel.Text                    = "Cancel";
     this.btnCancel.UseVisualStyleBackColor = true;
     //
     // panel3
     //
     this.panel3.Controls.Add(this.txtFetch);
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel3.Location = new System.Drawing.Point(0, 71);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(584, 252);
     this.panel3.TabIndex = 7;
     //
     // txtFetch
     //
     this.txtFetch.Dock                = System.Windows.Forms.DockStyle.Fill;
     this.txtFetch.Location            = new System.Drawing.Point(0, 0);
     this.txtFetch.Name                = "txtFetch";
     this.txtFetch.ReadOnly            = true;
     xmlViewerSettings1.AttributeKey   = System.Drawing.Color.Red;
     xmlViewerSettings1.AttributeValue = System.Drawing.Color.Blue;
     xmlViewerSettings1.Comment        = System.Drawing.Color.Empty;
     xmlViewerSettings1.Element        = System.Drawing.Color.DarkRed;
     xmlViewerSettings1.FontName       = "Consolas";
     xmlViewerSettings1.FontSize       = 9F;
     xmlViewerSettings1.QuoteCharacter = '\"';
     xmlViewerSettings1.Tag            = System.Drawing.Color.Blue;
     xmlViewerSettings1.Value          = System.Drawing.Color.Black;
     this.txtFetch.Settings            = xmlViewerSettings1;
     this.txtFetch.Size                = new System.Drawing.Size(584, 252);
     this.txtFetch.TabIndex            = 3;
     this.txtFetch.Text                = "";
     //
     // SelectViewDialog
     //
     this.AcceptButton        = this.btnOk;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton        = this.btnCancel;
     this.ClientSize          = new System.Drawing.Size(584, 361);
     this.Controls.Add(this.panel3);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.Icon  = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name  = "SelectViewDialog";
     this.Text  = "Select View";
     this.Load += new System.EventHandler(this.SelectViewDialog_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.panel2.ResumeLayout(false);
     this.panOk.ResumeLayout(false);
     this.panCancel.ResumeLayout(false);
     this.panel3.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #12
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     CSRichTextBoxSyntaxHighlighting.XMLViewerSettings xmlViewerSettings1 = new CSRichTextBoxSyntaxHighlighting.XMLViewerSettings();
     this.panel1     = new System.Windows.Forms.Panel();
     this.cmbML      = new System.Windows.Forms.ComboBox();
     this.label1     = new System.Windows.Forms.Label();
     this.panel2     = new System.Windows.Forms.Panel();
     this.btnRefresh = new System.Windows.Forms.Button();
     this.panOk      = new System.Windows.Forms.Panel();
     this.btnOk      = new System.Windows.Forms.Button();
     this.panCancel  = new System.Windows.Forms.Panel();
     this.button2    = new System.Windows.Forms.Button();
     this.panel3     = new System.Windows.Forms.Panel();
     this.txtFetch   = new CSRichTextBoxSyntaxHighlighting.XMLViewer();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.panOk.SuspendLayout();
     this.panCancel.SuspendLayout();
     this.panel3.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Controls.Add(this.cmbML);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(566, 46);
     this.panel1.TabIndex = 5;
     //
     // cmbML
     //
     this.cmbML.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                               | System.Windows.Forms.AnchorStyles.Right)));
     this.cmbML.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbML.FormattingEnabled = true;
     this.cmbML.Location          = new System.Drawing.Point(112, 12);
     this.cmbML.Name                  = "cmbML";
     this.cmbML.Size                  = new System.Drawing.Size(442, 21);
     this.cmbML.TabIndex              = 2;
     this.cmbML.SelectedIndexChanged += new System.EventHandler(this.cmbView_SelectedIndexChanged);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(12, 15);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(73, 13);
     this.label1.TabIndex = 6;
     this.label1.Text     = "Marketing List";
     //
     // panel2
     //
     this.panel2.Controls.Add(this.btnRefresh);
     this.panel2.Controls.Add(this.panOk);
     this.panel2.Controls.Add(this.panCancel);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.panel2.Location = new System.Drawing.Point(0, 384);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(566, 38);
     this.panel2.TabIndex = 6;
     //
     // btnRefresh
     //
     this.btnRefresh.Location = new System.Drawing.Point(12, 8);
     this.btnRefresh.Name     = "btnRefresh";
     this.btnRefresh.Size     = new System.Drawing.Size(102, 23);
     this.btnRefresh.TabIndex = 7;
     this.btnRefresh.Text     = "Refresh Views";
     this.btnRefresh.UseVisualStyleBackColor = true;
     this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
     //
     // panOk
     //
     this.panOk.Controls.Add(this.btnOk);
     this.panOk.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panOk.Location = new System.Drawing.Point(384, 0);
     this.panOk.Name     = "panOk";
     this.panOk.Size     = new System.Drawing.Size(91, 38);
     this.panOk.TabIndex = 6;
     //
     // btnOk
     //
     this.btnOk.DialogResult            = System.Windows.Forms.DialogResult.OK;
     this.btnOk.Enabled                 = false;
     this.btnOk.Location                = new System.Drawing.Point(3, 8);
     this.btnOk.Name                    = "btnOk";
     this.btnOk.Size                    = new System.Drawing.Size(75, 23);
     this.btnOk.TabIndex                = 4;
     this.btnOk.Text                    = "OK";
     this.btnOk.UseVisualStyleBackColor = true;
     this.btnOk.Click                  += new System.EventHandler(this.btnOk_Click);
     //
     // panCancel
     //
     this.panCancel.Controls.Add(this.button2);
     this.panCancel.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panCancel.Location = new System.Drawing.Point(475, 0);
     this.panCancel.Name     = "panCancel";
     this.panCancel.Size     = new System.Drawing.Size(91, 38);
     this.panCancel.TabIndex = 5;
     //
     // button2
     //
     this.button2.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.button2.Location                = new System.Drawing.Point(3, 8);
     this.button2.Name                    = "button2";
     this.button2.Size                    = new System.Drawing.Size(75, 23);
     this.button2.TabIndex                = 5;
     this.button2.Text                    = "Cancel";
     this.button2.UseVisualStyleBackColor = true;
     //
     // panel3
     //
     this.panel3.Controls.Add(this.txtFetch);
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel3.Location = new System.Drawing.Point(0, 46);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(566, 338);
     this.panel3.TabIndex = 7;
     //
     // txtFetch
     //
     this.txtFetch.Dock                = System.Windows.Forms.DockStyle.Fill;
     this.txtFetch.Location            = new System.Drawing.Point(0, 0);
     this.txtFetch.Name                = "txtFetch";
     this.txtFetch.ReadOnly            = true;
     xmlViewerSettings1.AttributeKey   = System.Drawing.Color.Red;
     xmlViewerSettings1.AttributeValue = System.Drawing.Color.Blue;
     xmlViewerSettings1.Comment        = System.Drawing.Color.Empty;
     xmlViewerSettings1.Element        = System.Drawing.Color.DarkRed;
     xmlViewerSettings1.Tag            = System.Drawing.Color.Blue;
     xmlViewerSettings1.Value          = System.Drawing.Color.Black;
     this.txtFetch.Settings            = xmlViewerSettings1;
     this.txtFetch.Size                = new System.Drawing.Size(566, 338);
     this.txtFetch.TabIndex            = 3;
     this.txtFetch.Text                = "";
     //
     // SelectMLDialog
     //
     this.AcceptButton        = this.btnOk;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton        = this.button2;
     this.ClientSize          = new System.Drawing.Size(566, 422);
     this.Controls.Add(this.panel3);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.Name = "SelectMLDialog";
     this.Text = "Select View";
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.panel2.ResumeLayout(false);
     this.panOk.ResumeLayout(false);
     this.panCancel.ResumeLayout(false);
     this.panel3.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #13
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            CSRichTextBoxSyntaxHighlighting.XMLViewerSettings xmlViewerSettings1 = new CSRichTextBoxSyntaxHighlighting.XMLViewerSettings();
            this.panel1 = new System.Windows.Forms.Panel();
            this.cmbML = new System.Windows.Forms.ComboBox();
            this.label1 = new System.Windows.Forms.Label();
            this.panel2 = new System.Windows.Forms.Panel();
            this.btnRefresh = new System.Windows.Forms.Button();
            this.panOk = new System.Windows.Forms.Panel();
            this.btnOk = new System.Windows.Forms.Button();
            this.panCancel = new System.Windows.Forms.Panel();
            this.button2 = new System.Windows.Forms.Button();
            this.panel3 = new System.Windows.Forms.Panel();
            this.txtFetch = new CSRichTextBoxSyntaxHighlighting.XMLViewer();
            this.panel1.SuspendLayout();
            this.panel2.SuspendLayout();
            this.panOk.SuspendLayout();
            this.panCancel.SuspendLayout();
            this.panel3.SuspendLayout();
            this.SuspendLayout();
            // 
            // panel1
            // 
            this.panel1.Controls.Add(this.cmbML);
            this.panel1.Controls.Add(this.label1);
            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
            this.panel1.Location = new System.Drawing.Point(0, 0);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(566, 46);
            this.panel1.TabIndex = 5;
            // 
            // cmbML
            // 
            this.cmbML.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.cmbML.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cmbML.FormattingEnabled = true;
            this.cmbML.Location = new System.Drawing.Point(112, 12);
            this.cmbML.Name = "cmbML";
            this.cmbML.Size = new System.Drawing.Size(442, 21);
            this.cmbML.TabIndex = 2;
            this.cmbML.SelectedIndexChanged += new System.EventHandler(this.cmbView_SelectedIndexChanged);
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(12, 15);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(73, 13);
            this.label1.TabIndex = 6;
            this.label1.Text = "Marketing List";
            // 
            // panel2
            // 
            this.panel2.Controls.Add(this.btnRefresh);
            this.panel2.Controls.Add(this.panOk);
            this.panel2.Controls.Add(this.panCancel);
            this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.panel2.Location = new System.Drawing.Point(0, 384);
            this.panel2.Name = "panel2";
            this.panel2.Size = new System.Drawing.Size(566, 38);
            this.panel2.TabIndex = 6;
            // 
            // btnRefresh
            // 
            this.btnRefresh.Location = new System.Drawing.Point(12, 8);
            this.btnRefresh.Name = "btnRefresh";
            this.btnRefresh.Size = new System.Drawing.Size(102, 23);
            this.btnRefresh.TabIndex = 7;
            this.btnRefresh.Text = "Refresh Views";
            this.btnRefresh.UseVisualStyleBackColor = true;
            this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
            // 
            // panOk
            // 
            this.panOk.Controls.Add(this.btnOk);
            this.panOk.Dock = System.Windows.Forms.DockStyle.Right;
            this.panOk.Location = new System.Drawing.Point(384, 0);
            this.panOk.Name = "panOk";
            this.panOk.Size = new System.Drawing.Size(91, 38);
            this.panOk.TabIndex = 6;
            // 
            // btnOk
            // 
            this.btnOk.DialogResult = System.Windows.Forms.DialogResult.OK;
            this.btnOk.Enabled = false;
            this.btnOk.Location = new System.Drawing.Point(3, 8);
            this.btnOk.Name = "btnOk";
            this.btnOk.Size = new System.Drawing.Size(75, 23);
            this.btnOk.TabIndex = 4;
            this.btnOk.Text = "OK";
            this.btnOk.UseVisualStyleBackColor = true;
            this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
            // 
            // panCancel
            // 
            this.panCancel.Controls.Add(this.button2);
            this.panCancel.Dock = System.Windows.Forms.DockStyle.Right;
            this.panCancel.Location = new System.Drawing.Point(475, 0);
            this.panCancel.Name = "panCancel";
            this.panCancel.Size = new System.Drawing.Size(91, 38);
            this.panCancel.TabIndex = 5;
            // 
            // button2
            // 
            this.button2.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.button2.Location = new System.Drawing.Point(3, 8);
            this.button2.Name = "button2";
            this.button2.Size = new System.Drawing.Size(75, 23);
            this.button2.TabIndex = 5;
            this.button2.Text = "Cancel";
            this.button2.UseVisualStyleBackColor = true;
            // 
            // panel3
            // 
            this.panel3.Controls.Add(this.txtFetch);
            this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panel3.Location = new System.Drawing.Point(0, 46);
            this.panel3.Name = "panel3";
            this.panel3.Size = new System.Drawing.Size(566, 338);
            this.panel3.TabIndex = 7;
            // 
            // txtFetch
            // 
            this.txtFetch.Dock = System.Windows.Forms.DockStyle.Fill;
            this.txtFetch.Location = new System.Drawing.Point(0, 0);
            this.txtFetch.Name = "txtFetch";
            this.txtFetch.ReadOnly = true;
            xmlViewerSettings1.AttributeKey = System.Drawing.Color.Red;
            xmlViewerSettings1.AttributeValue = System.Drawing.Color.Blue;
            xmlViewerSettings1.Comment = System.Drawing.Color.Empty;
            xmlViewerSettings1.Element = System.Drawing.Color.DarkRed;
            xmlViewerSettings1.Tag = System.Drawing.Color.Blue;
            xmlViewerSettings1.Value = System.Drawing.Color.Black;
            this.txtFetch.Settings = xmlViewerSettings1;
            this.txtFetch.Size = new System.Drawing.Size(566, 338);
            this.txtFetch.TabIndex = 3;
            this.txtFetch.Text = "";
            // 
            // SelectMLDialog
            // 
            this.AcceptButton = this.btnOk;
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.CancelButton = this.button2;
            this.ClientSize = new System.Drawing.Size(566, 422);
            this.Controls.Add(this.panel3);
            this.Controls.Add(this.panel2);
            this.Controls.Add(this.panel1);
            this.Name = "SelectMLDialog";
            this.Text = "Select View";
            this.panel1.ResumeLayout(false);
            this.panel1.PerformLayout();
            this.panel2.ResumeLayout(false);
            this.panOk.ResumeLayout(false);
            this.panCancel.ResumeLayout(false);
            this.panel3.ResumeLayout(false);
            this.ResumeLayout(false);

        }
コード例 #14
0
 /// <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();
     System.ComponentModel.ComponentResourceManager    resources          = new System.ComponentModel.ComponentResourceManager(typeof(ShuffleBuilder));
     CSRichTextBoxSyntaxHighlighting.XMLViewerSettings xmlViewerSettings1 = new CSRichTextBoxSyntaxHighlighting.XMLViewerSettings();
     CSRichTextBoxSyntaxHighlighting.XMLViewerSettings xmlViewerSettings2 = new CSRichTextBoxSyntaxHighlighting.XMLViewerSettings();
     this.treeviewMenuStrip        = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.addRuleToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.imageList1              = new System.Windows.Forms.ImageList(this.components);
     this.toolStripMain           = new System.Windows.Forms.ToolStrip();
     this.tsbCloseThisTab         = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator2     = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripSeparator3     = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripButtonNew      = new System.Windows.Forms.ToolStripButton();
     this.toolStripButtonOpen     = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator4     = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripButtonValidate = new System.Windows.Forms.ToolStripButton();
     this.toolStripButtonSave     = new System.Windows.Forms.ToolStripButton();
     this.toolStripButtonRunit    = new System.Windows.Forms.ToolStripButton();
     this.tvDefinition            = new System.Windows.Forms.TreeView();
     this.panProperties           = new System.Windows.Forms.Panel();
     this.gbNodeProperties        = new System.Windows.Forms.GroupBox();
     this.panelContainer          = new System.Windows.Forms.Panel();
     this.panQuickActions         = new System.Windows.Forms.Panel();
     this.gbNodeQuickActions      = new System.Windows.Forms.GroupBox();
     this.addMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.nothingToAddToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.addToolStripMenuItem          = new System.Windows.Forms.ToolStripMenuItem();
     this.splitContainerForm            = new System.Windows.Forms.SplitContainer();
     this.splitContainerBuilder         = new System.Windows.Forms.SplitContainer();
     this.gbTree = new System.Windows.Forms.GroupBox();
     this.splitContainerProperties = new System.Windows.Forms.SplitContainer();
     this.gbNodeXML                  = new System.Windows.Forms.GroupBox();
     this.txtPropertyXml             = new CSRichTextBoxSyntaxHighlighting.XMLViewer();
     this.gbDefinitionXML            = new System.Windows.Forms.GroupBox();
     this.txtXML                     = new CSRichTextBoxSyntaxHighlighting.XMLViewer();
     this.nodeMenu                   = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.deleteToolStripMenuItem    = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator1        = new System.Windows.Forms.ToolStripSeparator();
     this.commentToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
     this.uncommentToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem2         = new System.Windows.Forms.ToolStripSeparator();
     this.moveUpToolStripMenuItem    = new System.Windows.Forms.ToolStripMenuItem();
     this.moveDownToolStripMenuItem  = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem1         = new System.Windows.Forms.ToolStripSeparator();
     this.cutToolStripMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     this.copyToolStripMenuItem      = new System.Windows.Forms.ToolStripMenuItem();
     this.pasteToolStripMenuItem     = new System.Windows.Forms.ToolStripMenuItem();
     this.treeviewMenuStrip.SuspendLayout();
     this.toolStripMain.SuspendLayout();
     this.panProperties.SuspendLayout();
     this.gbNodeProperties.SuspendLayout();
     this.panQuickActions.SuspendLayout();
     this.addMenu.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerForm)).BeginInit();
     this.splitContainerForm.Panel1.SuspendLayout();
     this.splitContainerForm.Panel2.SuspendLayout();
     this.splitContainerForm.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerBuilder)).BeginInit();
     this.splitContainerBuilder.Panel1.SuspendLayout();
     this.splitContainerBuilder.Panel2.SuspendLayout();
     this.splitContainerBuilder.SuspendLayout();
     this.gbTree.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerProperties)).BeginInit();
     this.splitContainerProperties.Panel1.SuspendLayout();
     this.splitContainerProperties.Panel2.SuspendLayout();
     this.splitContainerProperties.SuspendLayout();
     this.gbNodeXML.SuspendLayout();
     this.gbDefinitionXML.SuspendLayout();
     this.nodeMenu.SuspendLayout();
     this.SuspendLayout();
     //
     // treeviewMenuStrip
     //
     this.treeviewMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.addRuleToolStripMenuItem
     });
     this.treeviewMenuStrip.Name = "treeviewMenuStrip";
     this.treeviewMenuStrip.Size = new System.Drawing.Size(123, 26);
     //
     // addRuleToolStripMenuItem
     //
     this.addRuleToolStripMenuItem.Name = "addRuleToolStripMenuItem";
     this.addRuleToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
     this.addRuleToolStripMenuItem.Tag  = "AddRule";
     this.addRuleToolStripMenuItem.Text = "Add Rule";
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "Icon.png");
     this.imageList1.Images.SetKeyName(1, "Cinteros 100 transp.png");
     //
     // toolStripMain
     //
     this.toolStripMain.ImageScalingSize = new System.Drawing.Size(24, 24);
     this.toolStripMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.tsbCloseThisTab,
         this.toolStripSeparator2,
         this.toolStripSeparator3,
         this.toolStripButtonNew,
         this.toolStripButtonOpen,
         this.toolStripSeparator4,
         this.toolStripButtonValidate,
         this.toolStripButtonSave,
         this.toolStripButtonRunit
     });
     this.toolStripMain.Location = new System.Drawing.Point(0, 0);
     this.toolStripMain.Name     = "toolStripMain";
     this.toolStripMain.Size     = new System.Drawing.Size(928, 31);
     this.toolStripMain.TabIndex = 21;
     this.toolStripMain.Text     = "toolStrip1";
     //
     // tsbCloseThisTab
     //
     this.tsbCloseThisTab.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.tsbCloseThisTab.Image                 = ((System.Drawing.Image)(resources.GetObject("tsbCloseThisTab.Image")));
     this.tsbCloseThisTab.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbCloseThisTab.Name   = "tsbCloseThisTab";
     this.tsbCloseThisTab.Size   = new System.Drawing.Size(28, 28);
     this.tsbCloseThisTab.Text   = "Close this tab";
     this.tsbCloseThisTab.Click += new System.EventHandler(this.tsbCloseThisTab_Click);
     //
     // toolStripSeparator2
     //
     this.toolStripSeparator2.Name = "toolStripSeparator2";
     this.toolStripSeparator2.Size = new System.Drawing.Size(6, 31);
     //
     // toolStripSeparator3
     //
     this.toolStripSeparator3.Name = "toolStripSeparator3";
     this.toolStripSeparator3.Size = new System.Drawing.Size(6, 31);
     //
     // toolStripButtonNew
     //
     this.toolStripButtonNew.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonNew.Image")));
     this.toolStripButtonNew.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButtonNew.Name        = "toolStripButtonNew";
     this.toolStripButtonNew.Size        = new System.Drawing.Size(59, 28);
     this.toolStripButtonNew.Text        = "New";
     this.toolStripButtonNew.ToolTipText = "New ShuffleDefinition";
     this.toolStripButtonNew.Click      += new System.EventHandler(this.toolStripButtonNew_Click);
     //
     // toolStripButtonOpen
     //
     this.toolStripButtonOpen.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonOpen.Image")));
     this.toolStripButtonOpen.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButtonOpen.Name        = "toolStripButtonOpen";
     this.toolStripButtonOpen.Size        = new System.Drawing.Size(64, 28);
     this.toolStripButtonOpen.Text        = "Open";
     this.toolStripButtonOpen.ToolTipText = "Open ShuffleDefinition";
     this.toolStripButtonOpen.Click      += new System.EventHandler(this.toolStripButtonOpen_Click);
     //
     // toolStripSeparator4
     //
     this.toolStripSeparator4.Name = "toolStripSeparator4";
     this.toolStripSeparator4.Size = new System.Drawing.Size(6, 31);
     //
     // toolStripButtonValidate
     //
     this.toolStripButtonValidate.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonValidate.Image")));
     this.toolStripButtonValidate.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButtonValidate.Name   = "toolStripButtonValidate";
     this.toolStripButtonValidate.Size   = new System.Drawing.Size(76, 28);
     this.toolStripButtonValidate.Text   = "Validate";
     this.toolStripButtonValidate.Click += new System.EventHandler(this.toolStripButtonValidate_Click);
     //
     // toolStripButtonSave
     //
     this.toolStripButtonSave.Enabled = false;
     this.toolStripButtonSave.Image   = ((System.Drawing.Image)(resources.GetObject("toolStripButtonSave.Image")));
     this.toolStripButtonSave.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButtonSave.Name        = "toolStripButtonSave";
     this.toolStripButtonSave.Size        = new System.Drawing.Size(59, 28);
     this.toolStripButtonSave.Text        = "Save";
     this.toolStripButtonSave.ToolTipText = "Save ShuffleDefinition";
     this.toolStripButtonSave.Click      += new System.EventHandler(this.toolStripButtonSave_Click);
     //
     // toolStripButtonRunit
     //
     this.toolStripButtonRunit.Enabled = false;
     this.toolStripButtonRunit.Image   = ((System.Drawing.Image)(resources.GetObject("toolStripButtonRunit.Image")));
     this.toolStripButtonRunit.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButtonRunit.Name   = "toolStripButtonRunit";
     this.toolStripButtonRunit.Size   = new System.Drawing.Size(113, 28);
     this.toolStripButtonRunit.Text   = "Do the Shuffle!";
     this.toolStripButtonRunit.Click += new System.EventHandler(this.toolStripButtonRunit_Click);
     //
     // tvDefinition
     //
     this.tvDefinition.BorderStyle      = System.Windows.Forms.BorderStyle.None;
     this.tvDefinition.Dock             = System.Windows.Forms.DockStyle.Fill;
     this.tvDefinition.HideSelection    = false;
     this.tvDefinition.Location         = new System.Drawing.Point(3, 16);
     this.tvDefinition.Margin           = new System.Windows.Forms.Padding(2, 3, 2, 3);
     this.tvDefinition.Name             = "tvDefinition";
     this.tvDefinition.ShowNodeToolTips = true;
     this.tvDefinition.Size             = new System.Drawing.Size(277, 574);
     this.tvDefinition.TabIndex         = 0;
     this.tvDefinition.AfterSelect     += new System.Windows.Forms.TreeViewEventHandler(this.tvDefinition_AfterSelect);
     this.tvDefinition.NodeMouseClick  += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.tvDefinitionNodeMouseClick);
     this.tvDefinition.KeyDown         += new System.Windows.Forms.KeyEventHandler(this.tvDefinition_KeyDown);
     //
     // panProperties
     //
     this.panProperties.Controls.Add(this.gbNodeProperties);
     this.panProperties.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panProperties.Location = new System.Drawing.Point(0, 55);
     this.panProperties.Name     = "panProperties";
     this.panProperties.Size     = new System.Drawing.Size(365, 303);
     this.panProperties.TabIndex = 36;
     //
     // gbNodeProperties
     //
     this.gbNodeProperties.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.gbNodeProperties.Controls.Add(this.panelContainer);
     this.gbNodeProperties.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.gbNodeProperties.Location = new System.Drawing.Point(-1, 8);
     this.gbNodeProperties.Margin   = new System.Windows.Forms.Padding(2, 3, 2, 3);
     this.gbNodeProperties.Name     = "gbNodeProperties";
     this.gbNodeProperties.Padding  = new System.Windows.Forms.Padding(2, 3, 2, 3);
     this.gbNodeProperties.Size     = new System.Drawing.Size(367, 297);
     this.gbNodeProperties.TabIndex = 34;
     this.gbNodeProperties.TabStop  = false;
     this.gbNodeProperties.Text     = "Node Properties";
     //
     // panelContainer
     //
     this.panelContainer.BackColor = System.Drawing.SystemColors.Window;
     this.panelContainer.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.panelContainer.Location  = new System.Drawing.Point(2, 16);
     this.panelContainer.Margin    = new System.Windows.Forms.Padding(2, 3, 2, 3);
     this.panelContainer.Name      = "panelContainer";
     this.panelContainer.Size      = new System.Drawing.Size(363, 278);
     this.panelContainer.TabIndex  = 14;
     //
     // panQuickActions
     //
     this.panQuickActions.Controls.Add(this.gbNodeQuickActions);
     this.panQuickActions.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panQuickActions.Location = new System.Drawing.Point(0, 0);
     this.panQuickActions.Margin   = new System.Windows.Forms.Padding(2, 3, 2, 3);
     this.panQuickActions.Name     = "panQuickActions";
     this.panQuickActions.Padding  = new System.Windows.Forms.Padding(0, 8, 0, 4);
     this.panQuickActions.Size     = new System.Drawing.Size(365, 55);
     this.panQuickActions.TabIndex = 17;
     //
     // gbNodeQuickActions
     //
     this.gbNodeQuickActions.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.gbNodeQuickActions.Location = new System.Drawing.Point(-1, 8);
     this.gbNodeQuickActions.Name     = "gbNodeQuickActions";
     this.gbNodeQuickActions.Padding  = new System.Windows.Forms.Padding(8, 6, 3, 3);
     this.gbNodeQuickActions.Size     = new System.Drawing.Size(367, 49);
     this.gbNodeQuickActions.TabIndex = 19;
     this.gbNodeQuickActions.TabStop  = false;
     this.gbNodeQuickActions.Text     = "Quick Actions";
     //
     // addMenu
     //
     this.addMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.nothingToAddToolStripMenuItem
     });
     this.addMenu.Name         = "addMenu";
     this.addMenu.OwnerItem    = this.addToolStripMenuItem;
     this.addMenu.Size         = new System.Drawing.Size(154, 26);
     this.addMenu.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.NodeMenuItemClicked);
     //
     // nothingToAddToolStripMenuItem
     //
     this.nothingToAddToolStripMenuItem.Name = "nothingToAddToolStripMenuItem";
     this.nothingToAddToolStripMenuItem.Size = new System.Drawing.Size(153, 22);
     this.nothingToAddToolStripMenuItem.Text = "nothing to add";
     //
     // addToolStripMenuItem
     //
     this.addToolStripMenuItem.DropDown = this.addMenu;
     this.addToolStripMenuItem.Name     = "addToolStripMenuItem";
     this.addToolStripMenuItem.ShortcutKeyDisplayString = "Ins";
     this.addToolStripMenuItem.Size = new System.Drawing.Size(202, 22);
     this.addToolStripMenuItem.Tag  = "Add";
     this.addToolStripMenuItem.Text = "Add";
     //
     // splitContainerForm
     //
     this.splitContainerForm.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.splitContainerForm.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerForm.FixedPanel  = System.Windows.Forms.FixedPanel.Panel1;
     this.splitContainerForm.Location    = new System.Drawing.Point(0, 31);
     this.splitContainerForm.Name        = "splitContainerForm";
     //
     // splitContainerForm.Panel1
     //
     this.splitContainerForm.Panel1.Controls.Add(this.splitContainerBuilder);
     //
     // splitContainerForm.Panel2
     //
     this.splitContainerForm.Panel2.Controls.Add(this.gbDefinitionXML);
     this.splitContainerForm.Size             = new System.Drawing.Size(928, 601);
     this.splitContainerForm.SplitterDistance = 658;
     this.splitContainerForm.SplitterWidth    = 8;
     this.splitContainerForm.TabIndex         = 26;
     //
     // splitContainerBuilder
     //
     this.splitContainerBuilder.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.splitContainerBuilder.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerBuilder.FixedPanel  = System.Windows.Forms.FixedPanel.Panel1;
     this.splitContainerBuilder.Location    = new System.Drawing.Point(0, 0);
     this.splitContainerBuilder.Name        = "splitContainerBuilder";
     //
     // splitContainerBuilder.Panel1
     //
     this.splitContainerBuilder.Panel1.Controls.Add(this.gbTree);
     //
     // splitContainerBuilder.Panel2
     //
     this.splitContainerBuilder.Panel2.Controls.Add(this.splitContainerProperties);
     this.splitContainerBuilder.Size             = new System.Drawing.Size(658, 601);
     this.splitContainerBuilder.SplitterDistance = 283;
     this.splitContainerBuilder.SplitterWidth    = 8;
     this.splitContainerBuilder.TabIndex         = 26;
     //
     // gbTree
     //
     this.gbTree.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.gbTree.Controls.Add(this.tvDefinition);
     this.gbTree.Location = new System.Drawing.Point(-1, 8);
     this.gbTree.Name     = "gbTree";
     this.gbTree.Size     = new System.Drawing.Size(283, 593);
     this.gbTree.TabIndex = 0;
     this.gbTree.TabStop  = false;
     this.gbTree.Text     = "Shuffle Definition";
     //
     // splitContainerProperties
     //
     this.splitContainerProperties.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.splitContainerProperties.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerProperties.FixedPanel  = System.Windows.Forms.FixedPanel.Panel1;
     this.splitContainerProperties.Location    = new System.Drawing.Point(0, 0);
     this.splitContainerProperties.Name        = "splitContainerProperties";
     this.splitContainerProperties.Orientation = System.Windows.Forms.Orientation.Horizontal;
     //
     // splitContainerProperties.Panel1
     //
     this.splitContainerProperties.Panel1.Controls.Add(this.panProperties);
     this.splitContainerProperties.Panel1.Controls.Add(this.panQuickActions);
     //
     // splitContainerProperties.Panel2
     //
     this.splitContainerProperties.Panel2.Controls.Add(this.gbNodeXML);
     this.splitContainerProperties.Size             = new System.Drawing.Size(367, 601);
     this.splitContainerProperties.SplitterDistance = 360;
     this.splitContainerProperties.SplitterWidth    = 8;
     this.splitContainerProperties.TabIndex         = 0;
     //
     // gbNodeXML
     //
     this.gbNodeXML.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.gbNodeXML.Controls.Add(this.txtPropertyXml);
     this.gbNodeXML.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.gbNodeXML.Location = new System.Drawing.Point(-1, 8);
     this.gbNodeXML.Margin   = new System.Windows.Forms.Padding(2, 3, 2, 3);
     this.gbNodeXML.Name     = "gbNodeXML";
     this.gbNodeXML.Padding  = new System.Windows.Forms.Padding(2, 3, 2, 3);
     this.gbNodeXML.Size     = new System.Drawing.Size(367, 208);
     this.gbNodeXML.TabIndex = 35;
     this.gbNodeXML.TabStop  = false;
     this.gbNodeXML.Text     = "Node XML";
     //
     // txtPropertyXml
     //
     this.txtPropertyXml.BackColor     = System.Drawing.SystemColors.Window;
     this.txtPropertyXml.BorderStyle   = System.Windows.Forms.BorderStyle.None;
     this.txtPropertyXml.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.txtPropertyXml.Font          = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtPropertyXml.Location      = new System.Drawing.Point(2, 16);
     this.txtPropertyXml.Name          = "txtPropertyXml";
     this.txtPropertyXml.ReadOnly      = true;
     xmlViewerSettings1.AttributeKey   = System.Drawing.Color.Red;
     xmlViewerSettings1.AttributeValue = System.Drawing.Color.Blue;
     xmlViewerSettings1.Comment        = System.Drawing.Color.Green;
     xmlViewerSettings1.Element        = System.Drawing.Color.DarkRed;
     xmlViewerSettings1.QuoteCharacter = '\"';
     xmlViewerSettings1.Tag            = System.Drawing.Color.Blue;
     xmlViewerSettings1.Value          = System.Drawing.Color.Black;
     this.txtPropertyXml.Settings      = xmlViewerSettings1;
     this.txtPropertyXml.Size          = new System.Drawing.Size(363, 189);
     this.txtPropertyXml.TabIndex      = 1;
     this.txtPropertyXml.Text          = "";
     this.txtPropertyXml.WordWrap      = false;
     //
     // gbDefinitionXML
     //
     this.gbDefinitionXML.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.gbDefinitionXML.Controls.Add(this.txtXML);
     this.gbDefinitionXML.Location = new System.Drawing.Point(-1, 8);
     this.gbDefinitionXML.Name     = "gbDefinitionXML";
     this.gbDefinitionXML.Size     = new System.Drawing.Size(246, 592);
     this.gbDefinitionXML.TabIndex = 1;
     this.gbDefinitionXML.TabStop  = false;
     this.gbDefinitionXML.Text     = "Shuffle Definition XML";
     //
     // txtXML
     //
     this.txtXML.BackColor             = System.Drawing.SystemColors.Window;
     this.txtXML.BorderStyle           = System.Windows.Forms.BorderStyle.None;
     this.txtXML.Dock                  = System.Windows.Forms.DockStyle.Fill;
     this.txtXML.Font                  = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtXML.Location              = new System.Drawing.Point(3, 16);
     this.txtXML.Name                  = "txtXML";
     this.txtXML.ReadOnly              = true;
     xmlViewerSettings2.AttributeKey   = System.Drawing.Color.Red;
     xmlViewerSettings2.AttributeValue = System.Drawing.Color.Blue;
     xmlViewerSettings2.Comment        = System.Drawing.Color.Green;
     xmlViewerSettings2.Element        = System.Drawing.Color.DarkRed;
     xmlViewerSettings2.QuoteCharacter = '\"';
     xmlViewerSettings2.Tag            = System.Drawing.Color.Blue;
     xmlViewerSettings2.Value          = System.Drawing.Color.Black;
     this.txtXML.Settings              = xmlViewerSettings2;
     this.txtXML.Size                  = new System.Drawing.Size(240, 573);
     this.txtXML.TabIndex              = 0;
     this.txtXML.Text                  = "";
     this.txtXML.WordWrap              = false;
     //
     // nodeMenu
     //
     this.nodeMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.addToolStripMenuItem,
         this.deleteToolStripMenuItem,
         this.toolStripSeparator1,
         this.commentToolStripMenuItem,
         this.uncommentToolStripMenuItem,
         this.toolStripMenuItem2,
         this.moveUpToolStripMenuItem,
         this.moveDownToolStripMenuItem,
         this.toolStripMenuItem1,
         this.cutToolStripMenuItem,
         this.copyToolStripMenuItem,
         this.pasteToolStripMenuItem
     });
     this.nodeMenu.Name         = "nodeMenu";
     this.nodeMenu.Size         = new System.Drawing.Size(203, 220);
     this.nodeMenu.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.NodeMenuItemClicked);
     //
     // deleteToolStripMenuItem
     //
     this.deleteToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("deleteToolStripMenuItem.Image")));
     this.deleteToolStripMenuItem.Name  = "deleteToolStripMenuItem";
     this.deleteToolStripMenuItem.ShortcutKeyDisplayString = "Del";
     this.deleteToolStripMenuItem.Size = new System.Drawing.Size(202, 22);
     this.deleteToolStripMenuItem.Tag  = "Delete";
     this.deleteToolStripMenuItem.Text = "Delete";
     //
     // toolStripSeparator1
     //
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     this.toolStripSeparator1.Size = new System.Drawing.Size(199, 6);
     //
     // commentToolStripMenuItem
     //
     this.commentToolStripMenuItem.Name = "commentToolStripMenuItem";
     this.commentToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+K";
     this.commentToolStripMenuItem.Size = new System.Drawing.Size(202, 22);
     this.commentToolStripMenuItem.Tag  = "Comment";
     this.commentToolStripMenuItem.Text = "Comment";
     //
     // uncommentToolStripMenuItem
     //
     this.uncommentToolStripMenuItem.Name = "uncommentToolStripMenuItem";
     this.uncommentToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+U";
     this.uncommentToolStripMenuItem.Size = new System.Drawing.Size(202, 22);
     this.uncommentToolStripMenuItem.Tag  = "Uncomment";
     this.uncommentToolStripMenuItem.Text = "Uncomment";
     //
     // toolStripMenuItem2
     //
     this.toolStripMenuItem2.Name = "toolStripMenuItem2";
     this.toolStripMenuItem2.Size = new System.Drawing.Size(199, 6);
     //
     // moveUpToolStripMenuItem
     //
     this.moveUpToolStripMenuItem.Name = "moveUpToolStripMenuItem";
     this.moveUpToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+Up";
     this.moveUpToolStripMenuItem.Size = new System.Drawing.Size(202, 22);
     this.moveUpToolStripMenuItem.Tag  = "MoveUp";
     this.moveUpToolStripMenuItem.Text = "Move up";
     //
     // moveDownToolStripMenuItem
     //
     this.moveDownToolStripMenuItem.Name = "moveDownToolStripMenuItem";
     this.moveDownToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+Down";
     this.moveDownToolStripMenuItem.Size = new System.Drawing.Size(202, 22);
     this.moveDownToolStripMenuItem.Tag  = "MoveDown";
     this.moveDownToolStripMenuItem.Text = "Move down";
     //
     // toolStripMenuItem1
     //
     this.toolStripMenuItem1.Name = "toolStripMenuItem1";
     this.toolStripMenuItem1.Size = new System.Drawing.Size(199, 6);
     //
     // cutToolStripMenuItem
     //
     this.cutToolStripMenuItem.Image        = ((System.Drawing.Image)(resources.GetObject("cutToolStripMenuItem.Image")));
     this.cutToolStripMenuItem.Name         = "cutToolStripMenuItem";
     this.cutToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X)));
     this.cutToolStripMenuItem.Size         = new System.Drawing.Size(202, 22);
     this.cutToolStripMenuItem.Text         = "Cut";
     //
     // copyToolStripMenuItem
     //
     this.copyToolStripMenuItem.Image        = ((System.Drawing.Image)(resources.GetObject("copyToolStripMenuItem.Image")));
     this.copyToolStripMenuItem.Name         = "copyToolStripMenuItem";
     this.copyToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C)));
     this.copyToolStripMenuItem.Size         = new System.Drawing.Size(202, 22);
     this.copyToolStripMenuItem.Text         = "Copy";
     //
     // pasteToolStripMenuItem
     //
     this.pasteToolStripMenuItem.Image        = ((System.Drawing.Image)(resources.GetObject("pasteToolStripMenuItem.Image")));
     this.pasteToolStripMenuItem.Name         = "pasteToolStripMenuItem";
     this.pasteToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V)));
     this.pasteToolStripMenuItem.Size         = new System.Drawing.Size(202, 22);
     this.pasteToolStripMenuItem.Text         = "Paste";
     //
     // ShuffleBuilder
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.SystemColors.Window;
     this.Controls.Add(this.splitContainerForm);
     this.Controls.Add(this.toolStripMain);
     this.Name               = "ShuffleBuilder";
     this.Size               = new System.Drawing.Size(928, 632);
     this.TabIcon            = ((System.Drawing.Image)(resources.GetObject("$this.TabIcon")));
     this.ConnectionUpdated += new XrmToolBox.Extensibility.PluginControlBase.ConnectionUpdatedHandler(this.ShuffleBuilder_ConnectionUpdated);
     this.treeviewMenuStrip.ResumeLayout(false);
     this.toolStripMain.ResumeLayout(false);
     this.toolStripMain.PerformLayout();
     this.panProperties.ResumeLayout(false);
     this.gbNodeProperties.ResumeLayout(false);
     this.panQuickActions.ResumeLayout(false);
     this.addMenu.ResumeLayout(false);
     this.splitContainerForm.Panel1.ResumeLayout(false);
     this.splitContainerForm.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerForm)).EndInit();
     this.splitContainerForm.ResumeLayout(false);
     this.splitContainerBuilder.Panel1.ResumeLayout(false);
     this.splitContainerBuilder.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerBuilder)).EndInit();
     this.splitContainerBuilder.ResumeLayout(false);
     this.gbTree.ResumeLayout(false);
     this.splitContainerProperties.Panel1.ResumeLayout(false);
     this.splitContainerProperties.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerProperties)).EndInit();
     this.splitContainerProperties.ResumeLayout(false);
     this.gbNodeXML.ResumeLayout(false);
     this.gbDefinitionXML.ResumeLayout(false);
     this.nodeMenu.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #15
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager    resources          = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
     CSRichTextBoxSyntaxHighlighting.XMLViewerSettings xmlViewerSettings1 = new CSRichTextBoxSyntaxHighlighting.XMLViewerSettings();
     this.pnlMenu    = new System.Windows.Forms.Panel();
     this.lbNote     = new System.Windows.Forms.Label();
     this.btnProcess = new System.Windows.Forms.Button();
     this.viewer     = new CSRichTextBoxSyntaxHighlighting.XMLViewer();
     this.pnlMenu.SuspendLayout();
     this.SuspendLayout();
     //
     // pnlMenu
     //
     this.pnlMenu.Controls.Add(this.lbNote);
     this.pnlMenu.Controls.Add(this.btnProcess);
     this.pnlMenu.Dock     = System.Windows.Forms.DockStyle.Top;
     this.pnlMenu.Location = new System.Drawing.Point(0, 0);
     this.pnlMenu.Name     = "pnlMenu";
     this.pnlMenu.Size     = new System.Drawing.Size(775, 79);
     this.pnlMenu.TabIndex = 1;
     //
     // lbNote
     //
     this.lbNote.AutoSize = true;
     this.lbNote.Location = new System.Drawing.Point(12, 9);
     this.lbNote.Name     = "lbNote";
     this.lbNote.Size     = new System.Drawing.Size(389, 65);
     this.lbNote.TabIndex = 2;
     this.lbNote.Text     = resources.GetString("lbNote.Text");
     //
     // btnProcess
     //
     this.btnProcess.Location = new System.Drawing.Point(420, 38);
     this.btnProcess.Name     = "btnProcess";
     this.btnProcess.Size     = new System.Drawing.Size(75, 23);
     this.btnProcess.TabIndex = 1;
     this.btnProcess.Text     = "Process";
     this.btnProcess.UseVisualStyleBackColor = true;
     this.btnProcess.Click += new System.EventHandler(this.btnProcess_Click);
     //
     // viewer
     //
     this.viewer.Dock                  = System.Windows.Forms.DockStyle.Fill;
     this.viewer.Location              = new System.Drawing.Point(0, 79);
     this.viewer.Name                  = "viewer";
     xmlViewerSettings1.AttributeKey   = System.Drawing.Color.Red;
     xmlViewerSettings1.AttributeValue = System.Drawing.Color.Blue;
     xmlViewerSettings1.Element        = System.Drawing.Color.DarkRed;
     xmlViewerSettings1.Tag            = System.Drawing.Color.Blue;
     xmlViewerSettings1.Value          = System.Drawing.Color.Black;
     this.viewer.Settings              = xmlViewerSettings1;
     this.viewer.Size                  = new System.Drawing.Size(775, 381);
     this.viewer.TabIndex              = 0;
     this.viewer.Text                  = "<?xml version=\"1.0\" encoding=\"utf-8\" ?><html><head><title>My home page</title></h" +
                                         "ead><body bgcolor=\"000000\" text=\"ff0000\">Hello World!</body></html>\n";
     //
     // MainForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(775, 460);
     this.Controls.Add(this.viewer);
     this.Controls.Add(this.pnlMenu);
     this.Name = "MainForm";
     this.Text = "SimpleXMLViewer";
     this.pnlMenu.ResumeLayout(false);
     this.pnlMenu.PerformLayout();
     this.ResumeLayout(false);
 }
コード例 #16
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     CSRichTextBoxSyntaxHighlighting.XMLViewerSettings xmlViewerSettings1 = new CSRichTextBoxSyntaxHighlighting.XMLViewerSettings();
     System.ComponentModel.ComponentResourceManager    resources          = new System.ComponentModel.ComponentResourceManager(typeof(Settings));
     this.gbEntities             = new System.Windows.Forms.GroupBox();
     this.chkEntOnlyAF           = new System.Windows.Forms.CheckBox();
     this.chkEntIntersect        = new System.Windows.Forms.CheckBox();
     this.chkEntStandard         = new System.Windows.Forms.CheckBox();
     this.chkEntCustom           = new System.Windows.Forms.CheckBox();
     this.chkEntUncustomizable   = new System.Windows.Forms.CheckBox();
     this.chkEntCustomizable     = new System.Windows.Forms.CheckBox();
     this.chkEntUnmanaged        = new System.Windows.Forms.CheckBox();
     this.chkEntManaged          = new System.Windows.Forms.CheckBox();
     this.chkEntAll              = new System.Windows.Forms.CheckBox();
     this.gbAttributes           = new System.Windows.Forms.GroupBox();
     this.chkAttOnlyRead         = new System.Windows.Forms.CheckBox();
     this.chkAttOnlyAF           = new System.Windows.Forms.CheckBox();
     this.chkAttStandard         = new System.Windows.Forms.CheckBox();
     this.chkAttCustom           = new System.Windows.Forms.CheckBox();
     this.chkAttUncustomizable   = new System.Windows.Forms.CheckBox();
     this.chkAttCustomizable     = new System.Windows.Forms.CheckBox();
     this.chkAttUnmanaged        = new System.Windows.Forms.CheckBox();
     this.chkAttManaged          = new System.Windows.Forms.CheckBox();
     this.chkAttAll              = new System.Windows.Forms.CheckBox();
     this.gbResult               = new System.Windows.Forms.GroupBox();
     this.chkResAllPages         = new System.Windows.Forms.CheckBox();
     this.cmbSeralizationStyle   = new System.Windows.Forms.ComboBox();
     this.rbResRaw               = new System.Windows.Forms.RadioButton();
     this.rbResSerialized        = new System.Windows.Forms.RadioButton();
     this.rbResGrid              = new System.Windows.Forms.RadioButton();
     this.gbAppearance           = new System.Windows.Forms.GroupBox();
     this.chkAppAllowUncustViews = new System.Windows.Forms.CheckBox();
     this.chkAppResultsNewWindow = new System.Windows.Forms.CheckBox();
     this.chkAppNoSavePrompt     = new System.Windows.Forms.CheckBox();
     this.chkAppSingle           = new System.Windows.Forms.CheckBox();
     this.chkAppFriendly         = new System.Windows.Forms.CheckBox();
     this.panel1          = new System.Windows.Forms.Panel();
     this.llShowWelcome   = new System.Windows.Forms.LinkLabel();
     this.btnCancel       = new System.Windows.Forms.Button();
     this.btnOK           = new System.Windows.Forms.Button();
     this.gbDefaultQuery  = new System.Windows.Forms.GroupBox();
     this.txtFetch        = new CSRichTextBoxSyntaxHighlighting.XMLViewer();
     this.panel2          = new System.Windows.Forms.Panel();
     this.btnDefaultQuery = new System.Windows.Forms.Button();
     this.btnFormatQuery  = new System.Windows.Forms.Button();
     this.gbEntities.SuspendLayout();
     this.gbAttributes.SuspendLayout();
     this.gbResult.SuspendLayout();
     this.gbAppearance.SuspendLayout();
     this.panel1.SuspendLayout();
     this.gbDefaultQuery.SuspendLayout();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // gbEntities
     //
     this.gbEntities.Controls.Add(this.chkEntOnlyAF);
     this.gbEntities.Controls.Add(this.chkEntIntersect);
     this.gbEntities.Controls.Add(this.chkEntStandard);
     this.gbEntities.Controls.Add(this.chkEntCustom);
     this.gbEntities.Controls.Add(this.chkEntUncustomizable);
     this.gbEntities.Controls.Add(this.chkEntCustomizable);
     this.gbEntities.Controls.Add(this.chkEntUnmanaged);
     this.gbEntities.Controls.Add(this.chkEntManaged);
     this.gbEntities.Controls.Add(this.chkEntAll);
     this.gbEntities.Location = new System.Drawing.Point(240, 12);
     this.gbEntities.Name     = "gbEntities";
     this.gbEntities.Size     = new System.Drawing.Size(168, 226);
     this.gbEntities.TabIndex = 2;
     this.gbEntities.TabStop  = false;
     this.gbEntities.Text     = "Show Entities";
     //
     // chkEntOnlyAF
     //
     this.chkEntOnlyAF.AutoSize = true;
     this.chkEntOnlyAF.Enabled  = false;
     this.chkEntOnlyAF.Location = new System.Drawing.Point(22, 180);
     this.chkEntOnlyAF.Name     = "chkEntOnlyAF";
     this.chkEntOnlyAF.Size     = new System.Drawing.Size(132, 17);
     this.chkEntOnlyAF.TabIndex = 8;
     this.chkEntOnlyAF.Text     = "Only valid for Adv.Find";
     this.chkEntOnlyAF.UseVisualStyleBackColor = true;
     //
     // chkEntIntersect
     //
     this.chkEntIntersect.AutoSize   = true;
     this.chkEntIntersect.Checked    = true;
     this.chkEntIntersect.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chkEntIntersect.Enabled    = false;
     this.chkEntIntersect.Location   = new System.Drawing.Point(22, 160);
     this.chkEntIntersect.Name       = "chkEntIntersect";
     this.chkEntIntersect.Size       = new System.Drawing.Size(67, 17);
     this.chkEntIntersect.TabIndex   = 7;
     this.chkEntIntersect.Text       = "Intersect";
     this.chkEntIntersect.UseVisualStyleBackColor = true;
     //
     // chkEntStandard
     //
     this.chkEntStandard.AutoSize   = true;
     this.chkEntStandard.Checked    = true;
     this.chkEntStandard.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chkEntStandard.Enabled    = false;
     this.chkEntStandard.Location   = new System.Drawing.Point(22, 140);
     this.chkEntStandard.Name       = "chkEntStandard";
     this.chkEntStandard.Size       = new System.Drawing.Size(69, 17);
     this.chkEntStandard.TabIndex   = 6;
     this.chkEntStandard.Text       = "Standard";
     this.chkEntStandard.UseVisualStyleBackColor = true;
     this.chkEntStandard.CheckedChanged         += new System.EventHandler(this.chkEntCustom_CheckedChanged);
     //
     // chkEntCustom
     //
     this.chkEntCustom.AutoSize   = true;
     this.chkEntCustom.Checked    = true;
     this.chkEntCustom.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chkEntCustom.Enabled    = false;
     this.chkEntCustom.Location   = new System.Drawing.Point(22, 120);
     this.chkEntCustom.Name       = "chkEntCustom";
     this.chkEntCustom.Size       = new System.Drawing.Size(61, 17);
     this.chkEntCustom.TabIndex   = 5;
     this.chkEntCustom.Text       = "Custom";
     this.chkEntCustom.UseVisualStyleBackColor = true;
     this.chkEntCustom.CheckedChanged         += new System.EventHandler(this.chkEntCustom_CheckedChanged);
     //
     // chkEntUncustomizable
     //
     this.chkEntUncustomizable.AutoSize   = true;
     this.chkEntUncustomizable.Checked    = true;
     this.chkEntUncustomizable.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chkEntUncustomizable.Enabled    = false;
     this.chkEntUncustomizable.Location   = new System.Drawing.Point(22, 100);
     this.chkEntUncustomizable.Name       = "chkEntUncustomizable";
     this.chkEntUncustomizable.Size       = new System.Drawing.Size(101, 17);
     this.chkEntUncustomizable.TabIndex   = 4;
     this.chkEntUncustomizable.Text       = "Uncustomizable";
     this.chkEntUncustomizable.UseVisualStyleBackColor = true;
     this.chkEntUncustomizable.CheckedChanged         += new System.EventHandler(this.chkEntCust_CheckedChanged);
     //
     // chkEntCustomizable
     //
     this.chkEntCustomizable.AutoSize   = true;
     this.chkEntCustomizable.Checked    = true;
     this.chkEntCustomizable.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chkEntCustomizable.Enabled    = false;
     this.chkEntCustomizable.Location   = new System.Drawing.Point(22, 80);
     this.chkEntCustomizable.Name       = "chkEntCustomizable";
     this.chkEntCustomizable.Size       = new System.Drawing.Size(88, 17);
     this.chkEntCustomizable.TabIndex   = 3;
     this.chkEntCustomizable.Text       = "Customizable";
     this.chkEntCustomizable.UseVisualStyleBackColor = true;
     this.chkEntCustomizable.CheckedChanged         += new System.EventHandler(this.chkEntCust_CheckedChanged);
     //
     // chkEntUnmanaged
     //
     this.chkEntUnmanaged.AutoSize   = true;
     this.chkEntUnmanaged.Checked    = true;
     this.chkEntUnmanaged.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chkEntUnmanaged.Enabled    = false;
     this.chkEntUnmanaged.Location   = new System.Drawing.Point(22, 60);
     this.chkEntUnmanaged.Name       = "chkEntUnmanaged";
     this.chkEntUnmanaged.Size       = new System.Drawing.Size(84, 17);
     this.chkEntUnmanaged.TabIndex   = 2;
     this.chkEntUnmanaged.Text       = "Unmanaged";
     this.chkEntUnmanaged.UseVisualStyleBackColor = true;
     this.chkEntUnmanaged.CheckedChanged         += new System.EventHandler(this.chkEntMgd_CheckedChanged);
     //
     // chkEntManaged
     //
     this.chkEntManaged.AutoSize   = true;
     this.chkEntManaged.Checked    = true;
     this.chkEntManaged.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chkEntManaged.Enabled    = false;
     this.chkEntManaged.Location   = new System.Drawing.Point(22, 40);
     this.chkEntManaged.Name       = "chkEntManaged";
     this.chkEntManaged.Size       = new System.Drawing.Size(71, 17);
     this.chkEntManaged.TabIndex   = 1;
     this.chkEntManaged.Text       = "Managed";
     this.chkEntManaged.UseVisualStyleBackColor = true;
     this.chkEntManaged.CheckedChanged         += new System.EventHandler(this.chkEntMgd_CheckedChanged);
     //
     // chkEntAll
     //
     this.chkEntAll.AutoSize   = true;
     this.chkEntAll.Checked    = true;
     this.chkEntAll.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chkEntAll.Location   = new System.Drawing.Point(16, 20);
     this.chkEntAll.Name       = "chkEntAll";
     this.chkEntAll.Size       = new System.Drawing.Size(37, 17);
     this.chkEntAll.TabIndex   = 0;
     this.chkEntAll.Text       = "All";
     this.chkEntAll.UseVisualStyleBackColor = true;
     this.chkEntAll.CheckedChanged         += new System.EventHandler(this.chkEntAll_CheckedChanged);
     //
     // gbAttributes
     //
     this.gbAttributes.Controls.Add(this.chkAttOnlyRead);
     this.gbAttributes.Controls.Add(this.chkAttOnlyAF);
     this.gbAttributes.Controls.Add(this.chkAttStandard);
     this.gbAttributes.Controls.Add(this.chkAttCustom);
     this.gbAttributes.Controls.Add(this.chkAttUncustomizable);
     this.gbAttributes.Controls.Add(this.chkAttCustomizable);
     this.gbAttributes.Controls.Add(this.chkAttUnmanaged);
     this.gbAttributes.Controls.Add(this.chkAttManaged);
     this.gbAttributes.Controls.Add(this.chkAttAll);
     this.gbAttributes.Location = new System.Drawing.Point(414, 12);
     this.gbAttributes.Name     = "gbAttributes";
     this.gbAttributes.Size     = new System.Drawing.Size(168, 226);
     this.gbAttributes.TabIndex = 3;
     this.gbAttributes.TabStop  = false;
     this.gbAttributes.Text     = "Show Attributes";
     //
     // chkAttOnlyRead
     //
     this.chkAttOnlyRead.AutoSize = true;
     this.chkAttOnlyRead.Enabled  = false;
     this.chkAttOnlyRead.Location = new System.Drawing.Point(22, 180);
     this.chkAttOnlyRead.Name     = "chkAttOnlyRead";
     this.chkAttOnlyRead.Size     = new System.Drawing.Size(116, 17);
     this.chkAttOnlyRead.TabIndex = 9;
     this.chkAttOnlyRead.Text     = "Only valid for Read";
     this.chkAttOnlyRead.UseVisualStyleBackColor = true;
     //
     // chkAttOnlyAF
     //
     this.chkAttOnlyAF.AutoSize = true;
     this.chkAttOnlyAF.Enabled  = false;
     this.chkAttOnlyAF.Location = new System.Drawing.Point(22, 160);
     this.chkAttOnlyAF.Name     = "chkAttOnlyAF";
     this.chkAttOnlyAF.Size     = new System.Drawing.Size(132, 17);
     this.chkAttOnlyAF.TabIndex = 8;
     this.chkAttOnlyAF.Text     = "Only valid for Adv.Find";
     this.chkAttOnlyAF.UseVisualStyleBackColor = true;
     //
     // chkAttStandard
     //
     this.chkAttStandard.AutoSize   = true;
     this.chkAttStandard.Checked    = true;
     this.chkAttStandard.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chkAttStandard.Enabled    = false;
     this.chkAttStandard.Location   = new System.Drawing.Point(22, 140);
     this.chkAttStandard.Name       = "chkAttStandard";
     this.chkAttStandard.Size       = new System.Drawing.Size(69, 17);
     this.chkAttStandard.TabIndex   = 6;
     this.chkAttStandard.Text       = "Standard";
     this.chkAttStandard.UseVisualStyleBackColor = true;
     this.chkAttStandard.CheckedChanged         += new System.EventHandler(this.chkAttCustom_CheckedChanged);
     //
     // chkAttCustom
     //
     this.chkAttCustom.AutoSize   = true;
     this.chkAttCustom.Checked    = true;
     this.chkAttCustom.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chkAttCustom.Enabled    = false;
     this.chkAttCustom.Location   = new System.Drawing.Point(22, 120);
     this.chkAttCustom.Name       = "chkAttCustom";
     this.chkAttCustom.Size       = new System.Drawing.Size(61, 17);
     this.chkAttCustom.TabIndex   = 5;
     this.chkAttCustom.Text       = "Custom";
     this.chkAttCustom.UseVisualStyleBackColor = true;
     this.chkAttCustom.CheckedChanged         += new System.EventHandler(this.chkAttCustom_CheckedChanged);
     //
     // chkAttUncustomizable
     //
     this.chkAttUncustomizable.AutoSize   = true;
     this.chkAttUncustomizable.Checked    = true;
     this.chkAttUncustomizable.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chkAttUncustomizable.Enabled    = false;
     this.chkAttUncustomizable.Location   = new System.Drawing.Point(22, 100);
     this.chkAttUncustomizable.Name       = "chkAttUncustomizable";
     this.chkAttUncustomizable.Size       = new System.Drawing.Size(101, 17);
     this.chkAttUncustomizable.TabIndex   = 4;
     this.chkAttUncustomizable.Text       = "Uncustomizable";
     this.chkAttUncustomizable.UseVisualStyleBackColor = true;
     this.chkAttUncustomizable.CheckedChanged         += new System.EventHandler(this.chkAttCust_CheckedChanged);
     //
     // chkAttCustomizable
     //
     this.chkAttCustomizable.AutoSize   = true;
     this.chkAttCustomizable.Checked    = true;
     this.chkAttCustomizable.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chkAttCustomizable.Enabled    = false;
     this.chkAttCustomizable.Location   = new System.Drawing.Point(22, 80);
     this.chkAttCustomizable.Name       = "chkAttCustomizable";
     this.chkAttCustomizable.Size       = new System.Drawing.Size(88, 17);
     this.chkAttCustomizable.TabIndex   = 3;
     this.chkAttCustomizable.Text       = "Customizable";
     this.chkAttCustomizable.UseVisualStyleBackColor = true;
     this.chkAttCustomizable.CheckedChanged         += new System.EventHandler(this.chkAttCust_CheckedChanged);
     //
     // chkAttUnmanaged
     //
     this.chkAttUnmanaged.AutoSize   = true;
     this.chkAttUnmanaged.Checked    = true;
     this.chkAttUnmanaged.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chkAttUnmanaged.Enabled    = false;
     this.chkAttUnmanaged.Location   = new System.Drawing.Point(22, 60);
     this.chkAttUnmanaged.Name       = "chkAttUnmanaged";
     this.chkAttUnmanaged.Size       = new System.Drawing.Size(84, 17);
     this.chkAttUnmanaged.TabIndex   = 2;
     this.chkAttUnmanaged.Text       = "Unmanaged";
     this.chkAttUnmanaged.UseVisualStyleBackColor = true;
     this.chkAttUnmanaged.CheckedChanged         += new System.EventHandler(this.chkAttMgd_CheckedChanged);
     //
     // chkAttManaged
     //
     this.chkAttManaged.AutoSize   = true;
     this.chkAttManaged.Checked    = true;
     this.chkAttManaged.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chkAttManaged.Enabled    = false;
     this.chkAttManaged.Location   = new System.Drawing.Point(22, 40);
     this.chkAttManaged.Name       = "chkAttManaged";
     this.chkAttManaged.Size       = new System.Drawing.Size(71, 17);
     this.chkAttManaged.TabIndex   = 1;
     this.chkAttManaged.Text       = "Managed";
     this.chkAttManaged.UseVisualStyleBackColor = true;
     this.chkAttManaged.CheckedChanged         += new System.EventHandler(this.chkAttMgd_CheckedChanged);
     //
     // chkAttAll
     //
     this.chkAttAll.AutoSize   = true;
     this.chkAttAll.Checked    = true;
     this.chkAttAll.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chkAttAll.Location   = new System.Drawing.Point(12, 20);
     this.chkAttAll.Name       = "chkAttAll";
     this.chkAttAll.Size       = new System.Drawing.Size(37, 17);
     this.chkAttAll.TabIndex   = 0;
     this.chkAttAll.Text       = "All";
     this.chkAttAll.UseVisualStyleBackColor = true;
     this.chkAttAll.CheckedChanged         += new System.EventHandler(this.chkAttAll_CheckedChanged);
     //
     // gbResult
     //
     this.gbResult.Controls.Add(this.chkResAllPages);
     this.gbResult.Controls.Add(this.cmbSeralizationStyle);
     this.gbResult.Controls.Add(this.rbResRaw);
     this.gbResult.Controls.Add(this.rbResSerialized);
     this.gbResult.Controls.Add(this.rbResGrid);
     this.gbResult.Location = new System.Drawing.Point(12, 135);
     this.gbResult.Name     = "gbResult";
     this.gbResult.Size     = new System.Drawing.Size(222, 103);
     this.gbResult.TabIndex = 1;
     this.gbResult.TabStop  = false;
     this.gbResult.Text     = "Result view";
     //
     // chkResAllPages
     //
     this.chkResAllPages.AutoSize = true;
     this.chkResAllPages.Location = new System.Drawing.Point(16, 80);
     this.chkResAllPages.Name     = "chkResAllPages";
     this.chkResAllPages.Size     = new System.Drawing.Size(111, 17);
     this.chkResAllPages.TabIndex = 4;
     this.chkResAllPages.Text     = "Retrieve all pages";
     this.chkResAllPages.UseVisualStyleBackColor = true;
     //
     // cmbSeralizationStyle
     //
     this.cmbSeralizationStyle.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbSeralizationStyle.Enabled           = false;
     this.cmbSeralizationStyle.FormattingEnabled = true;
     this.cmbSeralizationStyle.Items.AddRange(new object[] {
         "Explicit XML",
         "Basic XML",
         "JSON",
         "EntityCollection"
     });
     this.cmbSeralizationStyle.Location = new System.Drawing.Point(92, 38);
     this.cmbSeralizationStyle.Name     = "cmbSeralizationStyle";
     this.cmbSeralizationStyle.Size     = new System.Drawing.Size(122, 21);
     this.cmbSeralizationStyle.TabIndex = 2;
     //
     // rbResRaw
     //
     this.rbResRaw.AutoSize = true;
     this.rbResRaw.Location = new System.Drawing.Point(16, 60);
     this.rbResRaw.Name     = "rbResRaw";
     this.rbResRaw.Size     = new System.Drawing.Size(102, 17);
     this.rbResRaw.TabIndex = 3;
     this.rbResRaw.Text     = "Raw fetch result";
     this.rbResRaw.UseVisualStyleBackColor = true;
     //
     // rbResSerialized
     //
     this.rbResSerialized.AutoSize = true;
     this.rbResSerialized.Location = new System.Drawing.Point(16, 40);
     this.rbResSerialized.Name     = "rbResSerialized";
     this.rbResSerialized.Size     = new System.Drawing.Size(70, 17);
     this.rbResSerialized.TabIndex = 1;
     this.rbResSerialized.Text     = "Serialized";
     this.rbResSerialized.UseVisualStyleBackColor = true;
     this.rbResSerialized.CheckedChanged         += new System.EventHandler(this.rbResSerialized_CheckedChanged);
     //
     // rbResGrid
     //
     this.rbResGrid.AutoSize = true;
     this.rbResGrid.Checked  = true;
     this.rbResGrid.Location = new System.Drawing.Point(16, 20);
     this.rbResGrid.Name     = "rbResGrid";
     this.rbResGrid.Size     = new System.Drawing.Size(48, 17);
     this.rbResGrid.TabIndex = 0;
     this.rbResGrid.TabStop  = true;
     this.rbResGrid.Text     = "View";
     this.rbResGrid.UseVisualStyleBackColor = true;
     //
     // gbAppearance
     //
     this.gbAppearance.Controls.Add(this.chkAppAllowUncustViews);
     this.gbAppearance.Controls.Add(this.chkAppResultsNewWindow);
     this.gbAppearance.Controls.Add(this.chkAppNoSavePrompt);
     this.gbAppearance.Controls.Add(this.chkAppSingle);
     this.gbAppearance.Controls.Add(this.chkAppFriendly);
     this.gbAppearance.Location = new System.Drawing.Point(12, 12);
     this.gbAppearance.Name     = "gbAppearance";
     this.gbAppearance.Size     = new System.Drawing.Size(222, 121);
     this.gbAppearance.TabIndex = 0;
     this.gbAppearance.TabStop  = false;
     this.gbAppearance.Text     = "Appearance";
     //
     // chkAppAllowUncustViews
     //
     this.chkAppAllowUncustViews.AutoSize = true;
     this.chkAppAllowUncustViews.Location = new System.Drawing.Point(16, 100);
     this.chkAppAllowUncustViews.Name     = "chkAppAllowUncustViews";
     this.chkAppAllowUncustViews.Size     = new System.Drawing.Size(198, 17);
     this.chkAppAllowUncustViews.TabIndex = 6;
     this.chkAppAllowUncustViews.Text     = "Allow opening uncustomizable views";
     this.chkAppAllowUncustViews.UseVisualStyleBackColor = true;
     //
     // chkAppResultsNewWindow
     //
     this.chkAppResultsNewWindow.AutoSize = true;
     this.chkAppResultsNewWindow.Location = new System.Drawing.Point(16, 80);
     this.chkAppResultsNewWindow.Name     = "chkAppResultsNewWindow";
     this.chkAppResultsNewWindow.Size     = new System.Drawing.Size(192, 17);
     this.chkAppResultsNewWindow.TabIndex = 5;
     this.chkAppResultsNewWindow.Text     = "Always open results in new window";
     this.chkAppResultsNewWindow.UseVisualStyleBackColor = true;
     //
     // chkAppNoSavePrompt
     //
     this.chkAppNoSavePrompt.AutoSize = true;
     this.chkAppNoSavePrompt.Location = new System.Drawing.Point(16, 60);
     this.chkAppNoSavePrompt.Name     = "chkAppNoSavePrompt";
     this.chkAppNoSavePrompt.Size     = new System.Drawing.Size(159, 17);
     this.chkAppNoSavePrompt.TabIndex = 4;
     this.chkAppNoSavePrompt.Text     = "Do not prompt to save to file";
     this.chkAppNoSavePrompt.UseVisualStyleBackColor = true;
     //
     // chkAppSingle
     //
     this.chkAppSingle.AutoSize = true;
     this.chkAppSingle.Location = new System.Drawing.Point(16, 40);
     this.chkAppSingle.Name     = "chkAppSingle";
     this.chkAppSingle.Size     = new System.Drawing.Size(203, 17);
     this.chkAppSingle.TabIndex = 3;
     this.chkAppSingle.Text     = "Use single quotation in rendered XML";
     this.chkAppSingle.UseVisualStyleBackColor = true;
     //
     // chkAppFriendly
     //
     this.chkAppFriendly.AutoSize = true;
     this.chkAppFriendly.Location = new System.Drawing.Point(16, 20);
     this.chkAppFriendly.Name     = "chkAppFriendly";
     this.chkAppFriendly.Size     = new System.Drawing.Size(145, 17);
     this.chkAppFriendly.TabIndex = 1;
     this.chkAppFriendly.Text     = "Friendly names (CTRL+F)";
     this.chkAppFriendly.UseVisualStyleBackColor = true;
     //
     // 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.llShowWelcome);
     this.panel1.Controls.Add(this.btnCancel);
     this.panel1.Controls.Add(this.btnOK);
     this.panel1.Location = new System.Drawing.Point(12, 393);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(567, 53);
     this.panel1.TabIndex = 5;
     //
     // llShowWelcome
     //
     this.llShowWelcome.AutoSize     = true;
     this.llShowWelcome.Location     = new System.Drawing.Point(7, 24);
     this.llShowWelcome.Name         = "llShowWelcome";
     this.llShowWelcome.Size         = new System.Drawing.Size(114, 13);
     this.llShowWelcome.TabIndex     = 2;
     this.llShowWelcome.TabStop      = true;
     this.llShowWelcome.Text         = "Show welcome screen";
     this.llShowWelcome.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.llShowWelcome_LinkClicked);
     //
     // btnCancel
     //
     this.btnCancel.Anchor                  = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnCancel.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location                = new System.Drawing.Point(486, 19);
     this.btnCancel.Name                    = "btnCancel";
     this.btnCancel.Size                    = new System.Drawing.Size(75, 23);
     this.btnCancel.TabIndex                = 1;
     this.btnCancel.Text                    = "Cancel";
     this.btnCancel.UseVisualStyleBackColor = true;
     //
     // btnOK
     //
     this.btnOK.Anchor                  = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnOK.DialogResult            = System.Windows.Forms.DialogResult.OK;
     this.btnOK.Location                = new System.Drawing.Point(403, 19);
     this.btnOK.Name                    = "btnOK";
     this.btnOK.Size                    = new System.Drawing.Size(75, 23);
     this.btnOK.TabIndex                = 0;
     this.btnOK.Text                    = "OK";
     this.btnOK.UseVisualStyleBackColor = true;
     this.btnOK.Click                  += new System.EventHandler(this.btnOK_Click);
     //
     // gbDefaultQuery
     //
     this.gbDefaultQuery.Controls.Add(this.txtFetch);
     this.gbDefaultQuery.Controls.Add(this.panel2);
     this.gbDefaultQuery.Location = new System.Drawing.Point(12, 244);
     this.gbDefaultQuery.Name     = "gbDefaultQuery";
     this.gbDefaultQuery.Size     = new System.Drawing.Size(570, 145);
     this.gbDefaultQuery.TabIndex = 6;
     this.gbDefaultQuery.TabStop  = false;
     this.gbDefaultQuery.Text     = "Default New Query";
     //
     // txtFetch
     //
     this.txtFetch.Dock                = System.Windows.Forms.DockStyle.Fill;
     this.txtFetch.Location            = new System.Drawing.Point(3, 16);
     this.txtFetch.Name                = "txtFetch";
     xmlViewerSettings1.AttributeKey   = System.Drawing.Color.Red;
     xmlViewerSettings1.AttributeValue = System.Drawing.Color.Blue;
     xmlViewerSettings1.Comment        = System.Drawing.Color.Empty;
     xmlViewerSettings1.Element        = System.Drawing.Color.DarkRed;
     xmlViewerSettings1.QuoteCharacter = '\"';
     xmlViewerSettings1.Tag            = System.Drawing.Color.Blue;
     xmlViewerSettings1.Value          = System.Drawing.Color.Black;
     this.txtFetch.Settings            = xmlViewerSettings1;
     this.txtFetch.Size                = new System.Drawing.Size(483, 126);
     this.txtFetch.TabIndex            = 4;
     this.txtFetch.Text                = "";
     this.txtFetch.Leave              += new System.EventHandler(this.txtFetch_Leave);
     //
     // panel2
     //
     this.panel2.Controls.Add(this.btnDefaultQuery);
     this.panel2.Controls.Add(this.btnFormatQuery);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panel2.Location = new System.Drawing.Point(486, 16);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(81, 126);
     this.panel2.TabIndex = 5;
     //
     // btnDefaultQuery
     //
     this.btnDefaultQuery.Location = new System.Drawing.Point(3, 3);
     this.btnDefaultQuery.Name     = "btnDefaultQuery";
     this.btnDefaultQuery.Size     = new System.Drawing.Size(75, 23);
     this.btnDefaultQuery.TabIndex = 1;
     this.btnDefaultQuery.Text     = "Default";
     this.btnDefaultQuery.UseVisualStyleBackColor = true;
     this.btnDefaultQuery.Click += new System.EventHandler(this.btnDefaultQuery_Click);
     //
     // btnFormatQuery
     //
     this.btnFormatQuery.Location = new System.Drawing.Point(3, 100);
     this.btnFormatQuery.Name     = "btnFormatQuery";
     this.btnFormatQuery.Size     = new System.Drawing.Size(75, 23);
     this.btnFormatQuery.TabIndex = 0;
     this.btnFormatQuery.Text     = "Format";
     this.btnFormatQuery.UseVisualStyleBackColor = true;
     this.btnFormatQuery.Click += new System.EventHandler(this.btnFormatQuery_Click);
     //
     // Settings
     //
     this.AcceptButton        = this.btnOK;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton        = this.btnCancel;
     this.ClientSize          = new System.Drawing.Size(593, 456);
     this.Controls.Add(this.gbDefaultQuery);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.gbAppearance);
     this.Controls.Add(this.gbResult);
     this.Controls.Add(this.gbAttributes);
     this.Controls.Add(this.gbEntities);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name            = "Settings";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Settings";
     this.gbEntities.ResumeLayout(false);
     this.gbEntities.PerformLayout();
     this.gbAttributes.ResumeLayout(false);
     this.gbAttributes.PerformLayout();
     this.gbResult.ResumeLayout(false);
     this.gbResult.PerformLayout();
     this.gbAppearance.ResumeLayout(false);
     this.gbAppearance.PerformLayout();
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.gbDefaultQuery.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #17
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            CSRichTextBoxSyntaxHighlighting.XMLViewerSettings xmlViewerSettings1 = new CSRichTextBoxSyntaxHighlighting.XMLViewerSettings();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SelectViewDialog));
            this.panel1 = new System.Windows.Forms.Panel();
            this.cmbView = new System.Windows.Forms.ComboBox();
            this.label3 = new System.Windows.Forms.Label();
            this.label1 = new System.Windows.Forms.Label();
            this.cmbEntity = new System.Windows.Forms.ComboBox();
            this.panel2 = new System.Windows.Forms.Panel();
            this.btnRefresh = new System.Windows.Forms.Button();
            this.panOk = new System.Windows.Forms.Panel();
            this.btnOk = new System.Windows.Forms.Button();
            this.panCancel = new System.Windows.Forms.Panel();
            this.btnCancel = new System.Windows.Forms.Button();
            this.panel3 = new System.Windows.Forms.Panel();
            this.txtFetch = new CSRichTextBoxSyntaxHighlighting.XMLViewer();
            this.panel1.SuspendLayout();
            this.panel2.SuspendLayout();
            this.panOk.SuspendLayout();
            this.panCancel.SuspendLayout();
            this.panel3.SuspendLayout();
            this.SuspendLayout();
            // 
            // panel1
            // 
            this.panel1.Controls.Add(this.cmbView);
            this.panel1.Controls.Add(this.label3);
            this.panel1.Controls.Add(this.label1);
            this.panel1.Controls.Add(this.cmbEntity);
            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
            this.panel1.Location = new System.Drawing.Point(0, 0);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(584, 71);
            this.panel1.TabIndex = 5;
            // 
            // cmbView
            // 
            this.cmbView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.cmbView.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cmbView.FormattingEnabled = true;
            this.cmbView.Location = new System.Drawing.Point(112, 39);
            this.cmbView.Name = "cmbView";
            this.cmbView.Size = new System.Drawing.Size(460, 21);
            this.cmbView.TabIndex = 2;
            this.cmbView.SelectedIndexChanged += new System.EventHandler(this.cmbView_SelectedIndexChanged);
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(12, 42);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(30, 13);
            this.label3.TabIndex = 10;
            this.label3.Text = "View";
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(12, 15);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(33, 13);
            this.label1.TabIndex = 6;
            this.label1.Text = "Entity";
            // 
            // cmbEntity
            // 
            this.cmbEntity.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.cmbEntity.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
            this.cmbEntity.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
            this.cmbEntity.FormattingEnabled = true;
            this.cmbEntity.Location = new System.Drawing.Point(112, 12);
            this.cmbEntity.Name = "cmbEntity";
            this.cmbEntity.Size = new System.Drawing.Size(460, 21);
            this.cmbEntity.Sorted = true;
            this.cmbEntity.TabIndex = 1;
            this.cmbEntity.SelectedIndexChanged += new System.EventHandler(this.cmbEntity_SelectedIndexChanged);
            // 
            // panel2
            // 
            this.panel2.Controls.Add(this.btnRefresh);
            this.panel2.Controls.Add(this.panOk);
            this.panel2.Controls.Add(this.panCancel);
            this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.panel2.Location = new System.Drawing.Point(0, 323);
            this.panel2.Name = "panel2";
            this.panel2.Size = new System.Drawing.Size(584, 38);
            this.panel2.TabIndex = 6;
            // 
            // btnRefresh
            // 
            this.btnRefresh.Location = new System.Drawing.Point(12, 8);
            this.btnRefresh.Name = "btnRefresh";
            this.btnRefresh.Size = new System.Drawing.Size(102, 23);
            this.btnRefresh.TabIndex = 7;
            this.btnRefresh.Text = "Refresh Views";
            this.btnRefresh.UseVisualStyleBackColor = true;
            this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
            // 
            // panOk
            // 
            this.panOk.Controls.Add(this.btnOk);
            this.panOk.Dock = System.Windows.Forms.DockStyle.Right;
            this.panOk.Location = new System.Drawing.Point(402, 0);
            this.panOk.Name = "panOk";
            this.panOk.Size = new System.Drawing.Size(91, 38);
            this.panOk.TabIndex = 6;
            // 
            // btnOk
            // 
            this.btnOk.DialogResult = System.Windows.Forms.DialogResult.OK;
            this.btnOk.Enabled = false;
            this.btnOk.Location = new System.Drawing.Point(3, 8);
            this.btnOk.Name = "btnOk";
            this.btnOk.Size = new System.Drawing.Size(75, 23);
            this.btnOk.TabIndex = 4;
            this.btnOk.Text = "OK";
            this.btnOk.UseVisualStyleBackColor = true;
            this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
            // 
            // panCancel
            // 
            this.panCancel.Controls.Add(this.btnCancel);
            this.panCancel.Dock = System.Windows.Forms.DockStyle.Right;
            this.panCancel.Location = new System.Drawing.Point(493, 0);
            this.panCancel.Name = "panCancel";
            this.panCancel.Size = new System.Drawing.Size(91, 38);
            this.panCancel.TabIndex = 5;
            // 
            // btnCancel
            // 
            this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.btnCancel.Location = new System.Drawing.Point(3, 8);
            this.btnCancel.Name = "btnCancel";
            this.btnCancel.Size = new System.Drawing.Size(75, 23);
            this.btnCancel.TabIndex = 5;
            this.btnCancel.Text = "Cancel";
            this.btnCancel.UseVisualStyleBackColor = true;
            // 
            // panel3
            // 
            this.panel3.Controls.Add(this.txtFetch);
            this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panel3.Location = new System.Drawing.Point(0, 71);
            this.panel3.Name = "panel3";
            this.panel3.Size = new System.Drawing.Size(584, 252);
            this.panel3.TabIndex = 7;
            // 
            // txtFetch
            // 
            this.txtFetch.Dock = System.Windows.Forms.DockStyle.Fill;
            this.txtFetch.Location = new System.Drawing.Point(0, 0);
            this.txtFetch.Name = "txtFetch";
            this.txtFetch.ReadOnly = true;
            xmlViewerSettings1.AttributeKey = System.Drawing.Color.Red;
            xmlViewerSettings1.AttributeValue = System.Drawing.Color.Blue;
            xmlViewerSettings1.Comment = System.Drawing.Color.Empty;
            xmlViewerSettings1.Element = System.Drawing.Color.DarkRed;
            xmlViewerSettings1.Tag = System.Drawing.Color.Blue;
            xmlViewerSettings1.Value = System.Drawing.Color.Black;
            this.txtFetch.Settings = xmlViewerSettings1;
            this.txtFetch.Size = new System.Drawing.Size(584, 252);
            this.txtFetch.TabIndex = 3;
            this.txtFetch.Text = "";
            // 
            // SelectViewDialog
            // 
            this.AcceptButton = this.btnOk;
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.CancelButton = this.btnCancel;
            this.ClientSize = new System.Drawing.Size(584, 361);
            this.Controls.Add(this.panel3);
            this.Controls.Add(this.panel2);
            this.Controls.Add(this.panel1);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "SelectViewDialog";
            this.Text = "Select View";
            this.Load += new System.EventHandler(this.SelectViewDialog_Load);
            this.panel1.ResumeLayout(false);
            this.panel1.PerformLayout();
            this.panel2.ResumeLayout(false);
            this.panOk.ResumeLayout(false);
            this.panCancel.ResumeLayout(false);
            this.panel3.ResumeLayout(false);
            this.ResumeLayout(false);

        }
コード例 #18
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            CSRichTextBoxSyntaxHighlighting.XMLViewerSettings xmlViewerSettings1 = new CSRichTextBoxSyntaxHighlighting.XMLViewerSettings();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(XmlContentDisplayDialog));
            this.panBottom = new System.Windows.Forms.Panel();
            this.panOk = new System.Windows.Forms.Panel();
            this.btnOk = new System.Windows.Forms.Button();
            this.panCancel = new System.Windows.Forms.Panel();
            this.btnCancel = new System.Windows.Forms.Button();
            this.btnFormat = new System.Windows.Forms.Button();
            this.panel1 = new System.Windows.Forms.Panel();
            this.gbXml = new System.Windows.Forms.GroupBox();
            this.txtXML = new CSRichTextBoxSyntaxHighlighting.XMLViewer();
            this.panBottom.SuspendLayout();
            this.panOk.SuspendLayout();
            this.panCancel.SuspendLayout();
            this.panel1.SuspendLayout();
            this.gbXml.SuspendLayout();
            this.SuspendLayout();
            // 
            // panBottom
            // 
            this.panBottom.BackColor = System.Drawing.SystemColors.Control;
            this.panBottom.Controls.Add(this.panOk);
            this.panBottom.Controls.Add(this.panCancel);
            this.panBottom.Controls.Add(this.btnFormat);
            this.panBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.panBottom.Location = new System.Drawing.Point(0, 533);
            this.panBottom.Name = "panBottom";
            this.panBottom.Size = new System.Drawing.Size(784, 28);
            this.panBottom.TabIndex = 4;
            // 
            // panOk
            // 
            this.panOk.Controls.Add(this.btnOk);
            this.panOk.Dock = System.Windows.Forms.DockStyle.Right;
            this.panOk.Location = new System.Drawing.Point(602, 0);
            this.panOk.Name = "panOk";
            this.panOk.Size = new System.Drawing.Size(91, 28);
            this.panOk.TabIndex = 4;
            // 
            // btnOk
            // 
            this.btnOk.DialogResult = System.Windows.Forms.DialogResult.OK;
            this.btnOk.Location = new System.Drawing.Point(16, 0);
            this.btnOk.Name = "btnOk";
            this.btnOk.Size = new System.Drawing.Size(75, 23);
            this.btnOk.TabIndex = 3;
            this.btnOk.Text = "OK";
            this.btnOk.UseVisualStyleBackColor = true;
            this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
            // 
            // panCancel
            // 
            this.panCancel.Controls.Add(this.btnCancel);
            this.panCancel.Dock = System.Windows.Forms.DockStyle.Right;
            this.panCancel.Location = new System.Drawing.Point(693, 0);
            this.panCancel.Name = "panCancel";
            this.panCancel.Size = new System.Drawing.Size(91, 28);
            this.panCancel.TabIndex = 3;
            // 
            // btnCancel
            // 
            this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.btnCancel.Location = new System.Drawing.Point(13, 0);
            this.btnCancel.Name = "btnCancel";
            this.btnCancel.Size = new System.Drawing.Size(75, 23);
            this.btnCancel.TabIndex = 4;
            this.btnCancel.Text = "Cancel";
            this.btnCancel.UseVisualStyleBackColor = true;
            this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
            // 
            // btnFormat
            // 
            this.btnFormat.Location = new System.Drawing.Point(6, 0);
            this.btnFormat.Name = "btnFormat";
            this.btnFormat.Size = new System.Drawing.Size(75, 23);
            this.btnFormat.TabIndex = 2;
            this.btnFormat.Text = "Format XML";
            this.btnFormat.UseVisualStyleBackColor = true;
            this.btnFormat.Click += new System.EventHandler(this.button3_Click);
            // 
            // panel1
            // 
            this.panel1.Controls.Add(this.gbXml);
            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
            this.panel1.Location = new System.Drawing.Point(0, 0);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(784, 530);
            this.panel1.TabIndex = 5;
            // 
            // gbXml
            // 
            this.gbXml.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.gbXml.Controls.Add(this.txtXML);
            this.gbXml.Location = new System.Drawing.Point(3, 3);
            this.gbXml.Name = "gbXml";
            this.gbXml.Size = new System.Drawing.Size(778, 524);
            this.gbXml.TabIndex = 0;
            this.gbXml.TabStop = false;
            this.gbXml.Text = "XML";
            // 
            // txtXML
            // 
            this.txtXML.Dock = System.Windows.Forms.DockStyle.Fill;
            this.txtXML.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtXML.Location = new System.Drawing.Point(3, 16);
            this.txtXML.Name = "txtXML";
            xmlViewerSettings1.AttributeKey = System.Drawing.Color.Red;
            xmlViewerSettings1.AttributeValue = System.Drawing.Color.Blue;
            xmlViewerSettings1.Comment = System.Drawing.Color.Empty;
            xmlViewerSettings1.Element = System.Drawing.Color.DarkRed;
            xmlViewerSettings1.Tag = System.Drawing.Color.Blue;
            xmlViewerSettings1.Value = System.Drawing.Color.Black;
            this.txtXML.Settings = xmlViewerSettings1;
            this.txtXML.Size = new System.Drawing.Size(772, 505);
            this.txtXML.TabIndex = 2;
            this.txtXML.Text = "";
            // 
            // XmlContentDisplayDialog
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.CancelButton = this.btnCancel;
            this.ClientSize = new System.Drawing.Size(784, 561);
            this.Controls.Add(this.panel1);
            this.Controls.Add(this.panBottom);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.KeyPreview = true;
            this.Name = "XmlContentDisplayDialog";
            this.ShowIcon = false;
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.XmlContentDisplayDialog_FormClosing);
            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.XmlContentDisplayDialog_KeyDown);
            this.panBottom.ResumeLayout(false);
            this.panOk.ResumeLayout(false);
            this.panCancel.ResumeLayout(false);
            this.panel1.ResumeLayout(false);
            this.gbXml.ResumeLayout(false);
            this.ResumeLayout(false);

        }
コード例 #19
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     CSRichTextBoxSyntaxHighlighting.XMLViewerSettings xmlViewerSettings1 = new CSRichTextBoxSyntaxHighlighting.XMLViewerSettings();
     this.panel1    = new System.Windows.Forms.Panel();
     this.cmbView   = new System.Windows.Forms.ComboBox();
     this.label3    = new System.Windows.Forms.Label();
     this.label1    = new System.Windows.Forms.Label();
     this.cmbEntity = new System.Windows.Forms.ComboBox();
     this.panel2    = new System.Windows.Forms.Panel();
     this.panOk     = new System.Windows.Forms.Panel();
     this.btnOk     = new System.Windows.Forms.Button();
     this.panCancel = new System.Windows.Forms.Panel();
     this.button2   = new System.Windows.Forms.Button();
     this.panel3    = new System.Windows.Forms.Panel();
     this.txtFetch  = new CSRichTextBoxSyntaxHighlighting.XMLViewer();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.panOk.SuspendLayout();
     this.panCancel.SuspendLayout();
     this.panel3.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Controls.Add(this.cmbView);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.cmbEntity);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(566, 71);
     this.panel1.TabIndex = 5;
     //
     // cmbView
     //
     this.cmbView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.cmbView.AutoCompleteMode   = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
     this.cmbView.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
     this.cmbView.FormattingEnabled  = true;
     this.cmbView.Location           = new System.Drawing.Point(112, 39);
     this.cmbView.Name                  = "cmbView";
     this.cmbView.Size                  = new System.Drawing.Size(442, 21);
     this.cmbView.TabIndex              = 2;
     this.cmbView.SelectedIndexChanged += new System.EventHandler(this.cmbView_SelectedIndexChanged);
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(12, 42);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(30, 13);
     this.label3.TabIndex = 10;
     this.label3.Text     = "View";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(12, 15);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(33, 13);
     this.label1.TabIndex = 6;
     this.label1.Text     = "Entity";
     //
     // cmbEntity
     //
     this.cmbEntity.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.cmbEntity.AutoCompleteMode   = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
     this.cmbEntity.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
     this.cmbEntity.FormattingEnabled  = true;
     this.cmbEntity.Location           = new System.Drawing.Point(112, 12);
     this.cmbEntity.Name                  = "cmbEntity";
     this.cmbEntity.Size                  = new System.Drawing.Size(442, 21);
     this.cmbEntity.Sorted                = true;
     this.cmbEntity.TabIndex              = 1;
     this.cmbEntity.SelectedIndexChanged += new System.EventHandler(this.cmbEntity_SelectedIndexChanged);
     //
     // panel2
     //
     this.panel2.Controls.Add(this.panOk);
     this.panel2.Controls.Add(this.panCancel);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.panel2.Location = new System.Drawing.Point(0, 384);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(566, 38);
     this.panel2.TabIndex = 6;
     //
     // panOk
     //
     this.panOk.Controls.Add(this.btnOk);
     this.panOk.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panOk.Location = new System.Drawing.Point(384, 0);
     this.panOk.Name     = "panOk";
     this.panOk.Size     = new System.Drawing.Size(91, 38);
     this.panOk.TabIndex = 6;
     //
     // btnOk
     //
     this.btnOk.DialogResult            = System.Windows.Forms.DialogResult.OK;
     this.btnOk.Enabled                 = false;
     this.btnOk.Location                = new System.Drawing.Point(3, 8);
     this.btnOk.Name                    = "btnOk";
     this.btnOk.Size                    = new System.Drawing.Size(75, 23);
     this.btnOk.TabIndex                = 4;
     this.btnOk.Text                    = "OK";
     this.btnOk.UseVisualStyleBackColor = true;
     this.btnOk.Click                  += new System.EventHandler(this.btnOk_Click);
     //
     // panCancel
     //
     this.panCancel.Controls.Add(this.button2);
     this.panCancel.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panCancel.Location = new System.Drawing.Point(475, 0);
     this.panCancel.Name     = "panCancel";
     this.panCancel.Size     = new System.Drawing.Size(91, 38);
     this.panCancel.TabIndex = 5;
     //
     // button2
     //
     this.button2.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.button2.Location                = new System.Drawing.Point(3, 8);
     this.button2.Name                    = "button2";
     this.button2.Size                    = new System.Drawing.Size(75, 23);
     this.button2.TabIndex                = 5;
     this.button2.Text                    = "Cancel";
     this.button2.UseVisualStyleBackColor = true;
     //
     // panel3
     //
     this.panel3.Controls.Add(this.txtFetch);
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel3.Location = new System.Drawing.Point(0, 71);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(566, 313);
     this.panel3.TabIndex = 7;
     //
     // txtFetch
     //
     this.txtFetch.Dock                = System.Windows.Forms.DockStyle.Fill;
     this.txtFetch.Location            = new System.Drawing.Point(0, 0);
     this.txtFetch.Name                = "txtFetch";
     this.txtFetch.ReadOnly            = true;
     xmlViewerSettings1.AttributeKey   = System.Drawing.Color.Red;
     xmlViewerSettings1.AttributeValue = System.Drawing.Color.Blue;
     xmlViewerSettings1.Element        = System.Drawing.Color.DarkRed;
     xmlViewerSettings1.Tag            = System.Drawing.Color.Blue;
     xmlViewerSettings1.Value          = System.Drawing.Color.Black;
     this.txtFetch.Settings            = xmlViewerSettings1;
     this.txtFetch.Size                = new System.Drawing.Size(566, 313);
     this.txtFetch.TabIndex            = 3;
     this.txtFetch.Text                = "";
     //
     // SelectViewDialog
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(566, 422);
     this.Controls.Add(this.panel3);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.Name = "SelectViewDialog";
     this.Text = "Select View";
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.panel2.ResumeLayout(false);
     this.panOk.ResumeLayout(false);
     this.panCancel.ResumeLayout(false);
     this.panel3.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #20
0
 /// <summary>
 /// 支持设计器的必需方法-不用代码编辑器修改这个方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     CSRichTextBoxSyntaxHighlighting.XMLViewerSettings xmlViewerSettings1 = new CSRichTextBoxSyntaxHighlighting.XMLViewerSettings();
     this.pnlMenu    = new System.Windows.Forms.Panel();
     this.lbNote     = new System.Windows.Forms.Label();
     this.btnProcess = new System.Windows.Forms.Button();
     this.viewer     = new CSRichTextBoxSyntaxHighlighting.XMLViewer();
     this.pnlMenu.SuspendLayout();
     this.SuspendLayout();
     //
     // pnlMenu
     //
     this.pnlMenu.Controls.Add(this.lbNote);
     this.pnlMenu.Controls.Add(this.btnProcess);
     this.pnlMenu.Dock     = System.Windows.Forms.DockStyle.Top;
     this.pnlMenu.Location = new System.Drawing.Point(0, 0);
     this.pnlMenu.Name     = "pnlMenu";
     this.pnlMenu.Size     = new System.Drawing.Size(775, 73);
     this.pnlMenu.TabIndex = 1;
     //
     // lbNote
     //
     this.lbNote.AutoSize = true;
     this.lbNote.Location = new System.Drawing.Point(12, 8);
     this.lbNote.Name     = "lbNote";
     this.lbNote.Size     = new System.Drawing.Size(353, 60);
     this.lbNote.TabIndex = 2;
     this.lbNote.Text     = "将 xml 脚本复制、 粘贴到下面的 RichTextBox中,然后按\"处理\"\r\n注:\r\n1.此查看器并不支持有 Namespace 的 Xml 文件\r\n2.此" +
                            "查看器将忽略 XML 中的注释。\r\n3.某些字符应进行编码,像 &&-&";
     //
     // btnProcess
     //
     this.btnProcess.Location = new System.Drawing.Point(420, 35);
     this.btnProcess.Name     = "btnProcess";
     this.btnProcess.Size     = new System.Drawing.Size(75, 21);
     this.btnProcess.TabIndex = 1;
     this.btnProcess.Text     = "处理";
     this.btnProcess.UseVisualStyleBackColor = true;
     this.btnProcess.Click += new System.EventHandler(this.btnProcess_Click);
     //
     // viewer
     //
     this.viewer.Dock                  = System.Windows.Forms.DockStyle.Fill;
     this.viewer.Location              = new System.Drawing.Point(0, 73);
     this.viewer.Name                  = "viewer";
     xmlViewerSettings1.AttributeKey   = System.Drawing.Color.Red;
     xmlViewerSettings1.AttributeValue = System.Drawing.Color.Blue;
     xmlViewerSettings1.Element        = System.Drawing.Color.DarkRed;
     xmlViewerSettings1.Tag            = System.Drawing.Color.Blue;
     xmlViewerSettings1.Value          = System.Drawing.Color.Black;
     this.viewer.Settings              = xmlViewerSettings1;
     this.viewer.Size                  = new System.Drawing.Size(775, 352);
     this.viewer.TabIndex              = 0;
     this.viewer.Text                  = "<?xml version=\"1.0\" encoding=\"utf-8\" ?><html><head><title>My home page</title></h" +
                                         "ead><body bgcolor=\"000000\" text=\"ff0000\">Hello World!</body></html>\n";
     this.viewer.TextChanged += new System.EventHandler(this.viewer_TextChanged);
     //
     // MainForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(775, 425);
     this.Controls.Add(this.viewer);
     this.Controls.Add(this.pnlMenu);
     this.Name = "MainForm";
     this.Text = "SimpleXMLViewer";
     this.pnlMenu.ResumeLayout(false);
     this.pnlMenu.PerformLayout();
     this.ResumeLayout(false);
 }
コード例 #21
0
        /// <summary>
        /// 支持设计器的必需方法-不用代码编辑器修改这个方法的内容。
        /// </summary>
        private void InitializeComponent()
        {
            CSRichTextBoxSyntaxHighlighting.XMLViewerSettings xmlViewerSettings1 = new CSRichTextBoxSyntaxHighlighting.XMLViewerSettings();
            this.pnlMenu = new System.Windows.Forms.Panel();
            this.lbNote = new System.Windows.Forms.Label();
            this.btnProcess = new System.Windows.Forms.Button();
            this.viewer = new CSRichTextBoxSyntaxHighlighting.XMLViewer();
            this.pnlMenu.SuspendLayout();
            this.SuspendLayout();
            // 
            // pnlMenu
            // 
            this.pnlMenu.Controls.Add(this.lbNote);
            this.pnlMenu.Controls.Add(this.btnProcess);
            this.pnlMenu.Dock = System.Windows.Forms.DockStyle.Top;
            this.pnlMenu.Location = new System.Drawing.Point(0, 0);
            this.pnlMenu.Name = "pnlMenu";
            this.pnlMenu.Size = new System.Drawing.Size(775, 73);
            this.pnlMenu.TabIndex = 1;
            // 
            // lbNote
            // 
            this.lbNote.AutoSize = true;
            this.lbNote.Location = new System.Drawing.Point(12, 8);
            this.lbNote.Name = "lbNote";
            this.lbNote.Size = new System.Drawing.Size(353, 60);
            this.lbNote.TabIndex = 2;
            this.lbNote.Text = "将 xml 脚本复制、 粘贴到下面的 RichTextBox中,然后按\"处理\"\r\n注:\r\n1.此查看器并不支持有 Namespace 的 Xml 文件\r\n2.此" +
                "查看器将忽略 XML 中的注释。\r\n3.某些字符应进行编码,像 &&-&";
            // 
            // btnProcess
            // 
            this.btnProcess.Location = new System.Drawing.Point(420, 35);
            this.btnProcess.Name = "btnProcess";
            this.btnProcess.Size = new System.Drawing.Size(75, 21);
            this.btnProcess.TabIndex = 1;
            this.btnProcess.Text = "处理";
            this.btnProcess.UseVisualStyleBackColor = true;
            this.btnProcess.Click += new System.EventHandler(this.btnProcess_Click);
            // 
            // viewer
            // 
            this.viewer.Dock = System.Windows.Forms.DockStyle.Fill;
            this.viewer.Location = new System.Drawing.Point(0, 73);
            this.viewer.Name = "viewer";
            xmlViewerSettings1.AttributeKey = System.Drawing.Color.Red;
            xmlViewerSettings1.AttributeValue = System.Drawing.Color.Blue;
            xmlViewerSettings1.Element = System.Drawing.Color.DarkRed;
            xmlViewerSettings1.Tag = System.Drawing.Color.Blue;
            xmlViewerSettings1.Value = System.Drawing.Color.Black;
            this.viewer.Settings = xmlViewerSettings1;
            this.viewer.Size = new System.Drawing.Size(775, 352);
            this.viewer.TabIndex = 0;
            this.viewer.Text = "<?xml version=\"1.0\" encoding=\"utf-8\" ?><html><head><title>My home page</title></h" +
                "ead><body bgcolor=\"000000\" text=\"ff0000\">Hello World!</body></html>\n";
            this.viewer.TextChanged += new System.EventHandler(this.viewer_TextChanged);
            // 
            // MainForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(775, 425);
            this.Controls.Add(this.viewer);
            this.Controls.Add(this.pnlMenu);
            this.Name = "MainForm";
            this.Text = "SimpleXMLViewer";
            this.pnlMenu.ResumeLayout(false);
            this.pnlMenu.PerformLayout();
            this.ResumeLayout(false);

        }
コード例 #22
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     CSRichTextBoxSyntaxHighlighting.XMLViewerSettings xmlViewerSettings2 = new CSRichTextBoxSyntaxHighlighting.XMLViewerSettings();
     this.panBottom = new System.Windows.Forms.Panel();
     this.panOk     = new System.Windows.Forms.Panel();
     this.btnOk     = new System.Windows.Forms.Button();
     this.panCancel = new System.Windows.Forms.Panel();
     this.btnCancel = new System.Windows.Forms.Button();
     this.btnFormat = new System.Windows.Forms.Button();
     this.txtXML    = new CSRichTextBoxSyntaxHighlighting.XMLViewer();
     this.panBottom.SuspendLayout();
     this.panOk.SuspendLayout();
     this.panCancel.SuspendLayout();
     this.SuspendLayout();
     //
     // panBottom
     //
     this.panBottom.BackColor = System.Drawing.SystemColors.Control;
     this.panBottom.Controls.Add(this.panOk);
     this.panBottom.Controls.Add(this.panCancel);
     this.panBottom.Controls.Add(this.btnFormat);
     this.panBottom.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.panBottom.Location = new System.Drawing.Point(0, 667);
     this.panBottom.Name     = "panBottom";
     this.panBottom.Size     = new System.Drawing.Size(809, 38);
     this.panBottom.TabIndex = 4;
     //
     // panOk
     //
     this.panOk.Controls.Add(this.btnOk);
     this.panOk.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panOk.Location = new System.Drawing.Point(627, 0);
     this.panOk.Name     = "panOk";
     this.panOk.Size     = new System.Drawing.Size(91, 38);
     this.panOk.TabIndex = 4;
     //
     // btnOk
     //
     this.btnOk.DialogResult            = System.Windows.Forms.DialogResult.OK;
     this.btnOk.Location                = new System.Drawing.Point(3, 8);
     this.btnOk.Name                    = "btnOk";
     this.btnOk.Size                    = new System.Drawing.Size(75, 23);
     this.btnOk.TabIndex                = 3;
     this.btnOk.Text                    = "OK";
     this.btnOk.UseVisualStyleBackColor = true;
     this.btnOk.Click                  += new System.EventHandler(this.btnOk_Click);
     //
     // panCancel
     //
     this.panCancel.Controls.Add(this.btnCancel);
     this.panCancel.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panCancel.Location = new System.Drawing.Point(718, 0);
     this.panCancel.Name     = "panCancel";
     this.panCancel.Size     = new System.Drawing.Size(91, 38);
     this.panCancel.TabIndex = 3;
     //
     // btnCancel
     //
     this.btnCancel.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location                = new System.Drawing.Point(3, 8);
     this.btnCancel.Name                    = "btnCancel";
     this.btnCancel.Size                    = new System.Drawing.Size(75, 23);
     this.btnCancel.TabIndex                = 4;
     this.btnCancel.Text                    = "Cancel";
     this.btnCancel.UseVisualStyleBackColor = true;
     this.btnCancel.Click                  += new System.EventHandler(this.btnCancel_Click);
     //
     // btnFormat
     //
     this.btnFormat.Location = new System.Drawing.Point(12, 8);
     this.btnFormat.Name     = "btnFormat";
     this.btnFormat.Size     = new System.Drawing.Size(75, 23);
     this.btnFormat.TabIndex = 2;
     this.btnFormat.Text     = "Format XML";
     this.btnFormat.UseVisualStyleBackColor = true;
     this.btnFormat.Click += new System.EventHandler(this.button3_Click);
     //
     // txtXML
     //
     this.txtXML.Dock                  = System.Windows.Forms.DockStyle.Fill;
     this.txtXML.Font                  = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtXML.Location              = new System.Drawing.Point(0, 0);
     this.txtXML.Name                  = "txtXML";
     xmlViewerSettings2.AttributeKey   = System.Drawing.Color.Red;
     xmlViewerSettings2.AttributeValue = System.Drawing.Color.Blue;
     xmlViewerSettings2.Element        = System.Drawing.Color.DarkRed;
     xmlViewerSettings2.Tag            = System.Drawing.Color.Blue;
     xmlViewerSettings2.Value          = System.Drawing.Color.Black;
     this.txtXML.Settings              = xmlViewerSettings2;
     this.txtXML.Size                  = new System.Drawing.Size(809, 667);
     this.txtXML.TabIndex              = 1;
     this.txtXML.Text                  = "";
     //
     // XmlContentDisplayDialog
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton        = this.btnCancel;
     this.ClientSize          = new System.Drawing.Size(809, 705);
     this.Controls.Add(this.txtXML);
     this.Controls.Add(this.panBottom);
     this.KeyPreview   = true;
     this.Name         = "XmlContentDisplayDialog";
     this.ShowIcon     = false;
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.XmlContentDisplayDialog_FormClosing);
     this.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.XmlContentDisplayDialog_KeyDown);
     this.panBottom.ResumeLayout(false);
     this.panOk.ResumeLayout(false);
     this.panCancel.ResumeLayout(false);
     this.ResumeLayout(false);
 }