Exemple #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.colorTextBox = new System.Windows.Forms.TextBox();
     this.arrowButton  = new ArrowButton(this);
     this.SuspendLayout();
     //
     // colorTextBox
     //
     this.colorTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.colorTextBox.Location    = new System.Drawing.Point(38, 4);
     this.colorTextBox.Name        = "colorTextBox";
     this.colorTextBox.Size        = new System.Drawing.Size(122, 13);
     this.colorTextBox.TabIndex    = 0;
     this.colorTextBox.Text        = "textBox1";
     this.colorTextBox.KeyUp      += new System.Windows.Forms.KeyEventHandler(this.colorTextBox_KeyUp);
     //
     // arrowButton
     //
     this.arrowButton.BackColor = System.Drawing.SystemColors.Control;
     this.arrowButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.arrowButton.Location  = new System.Drawing.Point(166, 4);
     this.arrowButton.Name      = "arrowButton";
     this.arrowButton.Size      = new System.Drawing.Size(18, 10);
     this.arrowButton.TabIndex  = 1;
     this.arrowButton.Click    += new System.EventHandler(this.arrowButton_Click);
     //
     // ColorPicker
     //
     this.BackColor = System.Drawing.Color.White;
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.arrowButton,
         this.colorTextBox
     });
     this.Name  = "ColorPicker";
     this.Size  = new System.Drawing.Size(190, 24);
     this.Load += new System.EventHandler(this.ColorPicker_Load);
     this.ResumeLayout(false);
 }
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.colorTextBox = new System.Windows.Forms.TextBox();
       this.arrowButton = new ArrowButton(this);
       this.SuspendLayout();
       //
       // colorTextBox
       //
       this.colorTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
       this.colorTextBox.Location = new System.Drawing.Point(38, 4);
       this.colorTextBox.Name = "colorTextBox";
       this.colorTextBox.Size = new System.Drawing.Size(122, 13);
       this.colorTextBox.TabIndex = 0;
       this.colorTextBox.Text = "textBox1";
       this.colorTextBox.KeyUp += new System.Windows.Forms.KeyEventHandler(this.colorTextBox_KeyUp);
       //
       // arrowButton
       //
       this.arrowButton.BackColor = System.Drawing.SystemColors.Control;
       this.arrowButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
       this.arrowButton.Location = new System.Drawing.Point(166, 4);
       this.arrowButton.Name = "arrowButton";
       this.arrowButton.Size = new System.Drawing.Size(18, 10);
       this.arrowButton.TabIndex = 1;
       this.arrowButton.Click += new System.EventHandler(this.arrowButton_Click);
       //
       // ColorPicker
       //
       this.BackColor = System.Drawing.Color.White;
       this.Controls.AddRange(new System.Windows.Forms.Control[] {
                                                           this.arrowButton,
                                                           this.colorTextBox});
       this.Name = "ColorPicker";
       this.Size = new System.Drawing.Size(190, 24);
       this.Load += new System.EventHandler(this.ColorPicker_Load);
       this.ResumeLayout(false);
 }