Example #1
0
			private void InitializeComponent()
			{
				this.components = new System.ComponentModel.Container();
				System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(FormTestPxComboBox));
				this.PxComboBox1 = new GISA.Controls.PxComboBox();
				this.ImageList1 = new System.Windows.Forms.ImageList(this.components);
				this.SuspendLayout();
				//
				//PxComboBox1
				//
				this.PxComboBox1.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
				this.PxComboBox1.Location = new System.Drawing.Point(72, 64);
				this.PxComboBox1.Name = "PxComboBox1";
				this.PxComboBox1.Size = new System.Drawing.Size(121, 21);
				this.PxComboBox1.TabIndex = 0;
				this.PxComboBox1.Text = "ComboBox1";
				//
				//ImageList1
				//
				this.ImageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth24Bit;
				this.ImageList1.ImageSize = new System.Drawing.Size(16, 18);
				this.ImageList1.ImageStream = (System.Windows.Forms.ImageListStreamer)(resources.GetObject("ImageList1.ImageStream"));
				this.ImageList1.TransparentColor = System.Drawing.Color.Fuchsia;
				//
				//FormTestPxComboBox
				//
				this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
				this.ClientSize = new System.Drawing.Size(292, 273);
				this.Controls.Add(this.PxComboBox1);
				this.Name = "FormTestPxComboBox";
				this.Text = "Form1";
				this.ResumeLayout(false);

			}
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.cbOptions  = new GISA.Controls.PxComboBox();
     this.toolTip1   = new System.Windows.Forms.ToolTip(this.components);
     this.imageList1 = new System.Windows.Forms.ImageList(this.components);
     this.SuspendLayout();
     //
     // imageList1
     //
     this.imageList1.ColorDepth       = System.Windows.Forms.ColorDepth.Depth32Bit;
     this.imageList1.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     //
     // cbOptions
     //
     this.cbOptions.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.cbOptions.BackColor         = System.Drawing.SystemColors.Window;
     this.cbOptions.DrawMode          = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.cbOptions.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cbOptions.FormattingEnabled = true;
     this.cbOptions.ImageList         = this.imageList1;
     this.cbOptions.ItemHeight        = 16;
     this.cbOptions.Location          = new System.Drawing.Point(0, 0);
     this.cbOptions.Name                  = "cbOptions";
     this.cbOptions.Size                  = new System.Drawing.Size(150, 21);
     this.cbOptions.TabIndex              = 0;
     this.cbOptions.SelectedIndexChanged += new System.EventHandler(this.cbOptions_SelectedIndexChanged);
     //
     // PropriedadeSuggestionPicker
     //
     this.Controls.Add(this.cbOptions);
     this.Name = "PropriedadeSuggestionPicker";
     this.Size = new System.Drawing.Size(150, 21);
     this.ResumeLayout(false);
 }