コード例 #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.button = new ColorComboTestApp.ColorComboBox.ColorComboButton();
     this.SuspendLayout();
     //
     // button
     //
     this.button.Appearance = System.Windows.Forms.Appearance.Button;
     this.button.Extended = false;
     this.button.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.button.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
     this.button.Location = new System.Drawing.Point(0, 0);
     this.button.Name = "button";
     this.button.SelectedColor = System.Drawing.Color.Black;
     this.button.Size = new System.Drawing.Size(103, 23);
     this.button.TabIndex = 0;
     //
     // ColorComboBox
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.button);
     this.Name = "ColorComboBox";
     this.Size = new System.Drawing.Size(103, 23);
     this.SizeChanged += new System.EventHandler(this.ColorComboBox_SizeChanged);
     this.ResumeLayout(false);
 }
コード例 #2
0
ファイル: ColorBox.designer.cs プロジェクト: GodLesZ/svn-dump
		/// <summary> 
		/// Required method for Designer support - do not modify 
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent() {
			button = new ColorComboButton();

			this.SuspendLayout();
			// 
			// ColorComboBox
			// 
			this.AutoScaleDimensions = new System.Drawing.SizeF( 6F, 13F );
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.Name = "ColorComboBox";
			this.Size = new System.Drawing.Size( 103, 23 );
			this.SizeChanged += new System.EventHandler( this.ColorComboBox_SizeChanged );
			Controls.Add( button );
			this.ResumeLayout( false );

		}
コード例 #3
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            button = new ColorComboButton();

            this.SuspendLayout();
            //
            // ColorComboBox
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.Name         = "ColorComboBox";
            this.Size         = new System.Drawing.Size(103, 23);
            this.SizeChanged += new System.EventHandler(this.ColorComboBox_SizeChanged);
            Controls.Add(button);
            this.ResumeLayout(false);
        }