Ejemplo n.º 1
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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(AttributeChangePanel));
     this.attributeText = new XEditNet.Widgets.WidgetTextBox();
     this.mainPanel     = new XEditNet.Widgets.PanelEx();
     this.imageList     = new System.Windows.Forms.ImageList(this.components);
     this.addButton     = new XEditNet.Widgets.FlatButton();
     this.label1        = new System.Windows.Forms.Label();
     this.comboDummy    = new System.Windows.Forms.ComboBox();
     this.SuspendLayout();
     //
     // attributeText
     //
     this.attributeText.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.attributeText.BackColor    = System.Drawing.Color.FloralWhite;
     this.attributeText.Location     = new System.Drawing.Point(8, 24);
     this.attributeText.Name         = "attributeText";
     this.attributeText.Size         = new System.Drawing.Size(184, 20);
     this.attributeText.TabIndex     = 0;
     this.attributeText.Text         = "";
     this.attributeText.TextChanged += new System.EventHandler(this.AttributeFilterTextChanged);
     //
     // mainPanel
     //
     this.mainPanel.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.mainPanel.AutoScroll = true;
     this.mainPanel.BackColor  = System.Drawing.Color.FloralWhite;
     this.mainPanel.Location   = new System.Drawing.Point(8, 48);
     this.mainPanel.Name       = "mainPanel";
     this.mainPanel.Size       = new System.Drawing.Size(208, 176);
     this.mainPanel.TabIndex   = 2;
     //
     // imageList
     //
     this.imageList.ColorDepth       = System.Windows.Forms.ColorDepth.Depth4Bit;
     this.imageList.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream")));
     this.imageList.TransparentColor = System.Drawing.Color.Magenta;
     //
     // addButton
     //
     this.addButton.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.addButton.ImageIndex = 0;
     this.addButton.ImageList  = this.imageList;
     this.addButton.Location   = new System.Drawing.Point(195, 25);
     this.addButton.Name       = "addButton";
     this.addButton.Size       = new System.Drawing.Size(16, 16);
     this.addButton.TabIndex   = 1;
     this.addButton.Text       = "Create New Attribute";
     this.addButton.Click     += new System.EventHandler(this.AddAttribute);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(6, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(100, 16);
     this.label1.TabIndex = 3;
     this.label1.Text     = "Filter Attributes:";
     //
     // comboDummy
     //
     this.comboDummy.Location = new System.Drawing.Point(16, 64);
     this.comboDummy.Name     = "comboDummy";
     this.comboDummy.Size     = new System.Drawing.Size(121, 21);
     this.comboDummy.TabIndex = 4;
     this.comboDummy.Text     = "comboBox1";
     //
     // AttributeChangePanel
     //
     this.Controls.Add(this.mainPanel);
     this.Controls.Add(this.comboDummy);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.attributeText);
     this.Controls.Add(this.addButton);
     this.Name = "AttributeChangePanel";
     this.Size = new System.Drawing.Size(223, 231);
     this.ResumeLayout(false);
 }
Ejemplo n.º 2
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();
     this.elementText = new XEditNet.Widgets.WidgetTextBox();
     this.elementList = new System.Windows.Forms.TreeView();
     this.imageList   = new System.Windows.Forms.ImageList(this.components);
     this.showValid   = new System.Windows.Forms.CheckBox();
     this.label1      = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // elementText
     //
     this.elementText.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.elementText.BackColor    = System.Drawing.Color.FloralWhite;
     this.elementText.Location     = new System.Drawing.Point(8, 24);
     this.elementText.Name         = "elementText";
     this.elementText.Size         = new System.Drawing.Size(208, 20);
     this.elementText.TabIndex     = 1;
     this.elementText.Text         = "";
     this.elementText.TextChanged += new System.EventHandler(this.ElementTextChanged);
     this.elementText.Enter       += new System.EventHandler(this.ElementTextFocus);
     //
     // elementList
     //
     this.elementList.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.elementList.BackColor     = System.Drawing.Color.FloralWhite;
     this.elementList.Font          = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.elementList.FullRowSelect = true;
     this.elementList.HideSelection = false;
     this.elementList.ImageList     = this.imageList;
     this.elementList.Location      = new System.Drawing.Point(8, 48);
     this.elementList.Name          = "elementList";
     this.elementList.ShowRootLines = false;
     this.elementList.Size          = new System.Drawing.Size(208, 152);
     this.elementList.Sorted        = true;
     this.elementList.TabIndex      = 2;
     this.elementList.DoubleClick  += new System.EventHandler(this.DoubleClickElement);
     //
     // imageList
     //
     this.imageList.ColorDepth       = System.Windows.Forms.ColorDepth.Depth32Bit;
     this.imageList.ImageSize        = new System.Drawing.Size(14, 14);
     this.imageList.TransparentColor = System.Drawing.Color.Transparent;
     //
     // showValid
     //
     this.showValid.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.showValid.Checked         = true;
     this.showValid.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.showValid.Location        = new System.Drawing.Point(8, 203);
     this.showValid.Name            = "showValid";
     this.showValid.Size            = new System.Drawing.Size(192, 24);
     this.showValid.TabIndex        = 4;
     this.showValid.Text            = "Only Show &Valid Items";
     this.showValid.CheckedChanged += new System.EventHandler(this.ToggleShowValid);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(6, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(100, 16);
     this.label1.TabIndex = 5;
     this.label1.Text     = "Filter Elements:";
     //
     // ElementListPanelBase
     //
     this.Controls.Add(this.label1);
     this.Controls.Add(this.showValid);
     this.Controls.Add(this.elementList);
     this.Controls.Add(this.elementText);
     this.Name = "ElementListPanelBase";
     this.Size = new System.Drawing.Size(223, 231);
     this.ResumeLayout(false);
 }