Esempio 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();
     this.primaryColorRectangle   = new PaintDotNet.ColorRectangleControl();
     this.secondaryColorRectangle = new PaintDotNet.ColorRectangleControl();
     this.swapIconBox             = new PaintDotNet.IconBox();
     this.blackAndWhiteIconBox    = new PaintDotNet.IconBox();
     this.toolTip = new System.Windows.Forms.ToolTip(this.components);
     this.SuspendLayout();
     //
     // foreColorRectangle
     //
     this.primaryColorRectangle.Name           = "foreColorRectangle";
     this.primaryColorRectangle.RectangleColor = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(192)));
     this.primaryColorRectangle.Size           = new System.Drawing.Size(28, 28);
     this.primaryColorRectangle.TabIndex       = 0;
     this.primaryColorRectangle.Click         += new System.EventHandler(this.PrimaryColorRectangle_Click);
     this.primaryColorRectangle.KeyUp         += new System.Windows.Forms.KeyEventHandler(this.Control_KeyUp);
     //
     // backColorRectangle
     //
     this.secondaryColorRectangle.Name           = "backColorRectangle";
     this.secondaryColorRectangle.RectangleColor = System.Drawing.Color.Magenta;
     this.secondaryColorRectangle.Size           = new System.Drawing.Size(28, 28);
     this.secondaryColorRectangle.TabIndex       = 1;
     this.secondaryColorRectangle.Click         += new System.EventHandler(this.SecondaryColorRectangle_Click);
     this.secondaryColorRectangle.KeyUp         += new System.Windows.Forms.KeyEventHandler(this.Control_KeyUp);
     //
     // swapIconBox
     //
     this.swapIconBox.Icon         = null;
     this.swapIconBox.Name         = "swapIconBox";
     this.swapIconBox.Size         = new System.Drawing.Size(15, 15);
     this.swapIconBox.TabIndex     = 2;
     this.swapIconBox.TabStop      = false;
     this.swapIconBox.Click       += new System.EventHandler(this.SwapIconBox_Click);
     this.swapIconBox.KeyUp       += new System.Windows.Forms.KeyEventHandler(this.Control_KeyUp);
     this.swapIconBox.DoubleClick += new System.EventHandler(this.SwapIconBox_Click);
     //
     // blackAndWhiteIconBox
     //
     this.blackAndWhiteIconBox.Icon         = null;
     this.blackAndWhiteIconBox.Name         = "blackAndWhiteIconBox";
     this.blackAndWhiteIconBox.Size         = new System.Drawing.Size(15, 15);
     this.blackAndWhiteIconBox.TabIndex     = 3;
     this.blackAndWhiteIconBox.TabStop      = false;
     this.blackAndWhiteIconBox.Click       += new System.EventHandler(this.BlackAndWhiteIconBox_Click);
     this.blackAndWhiteIconBox.KeyUp       += new System.Windows.Forms.KeyEventHandler(this.Control_KeyUp);
     this.blackAndWhiteIconBox.DoubleClick += new System.EventHandler(this.BlackAndWhiteIconBox_Click);
     //
     // toolTip
     //
     this.toolTip.ShowAlways = true;
     //
     // ColorDisplayWidget
     //
     this.Controls.Add(this.blackAndWhiteIconBox);
     this.Controls.Add(this.swapIconBox);
     this.Controls.Add(this.primaryColorRectangle);
     this.Controls.Add(this.secondaryColorRectangle);
     this.AutoScaleDimensions = new SizeF(96F, 96F);
     this.AutoScaleMode       = AutoScaleMode.Dpi;
     this.Name = "ColorDisplayWidget";
     this.Size = new System.Drawing.Size(48, 48);
     this.ResumeLayout(false);
 }
Esempio 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.primaryColorRectangle = new PaintDotNet.ColorRectangleControl();
            this.secondaryColorRectangle = new PaintDotNet.ColorRectangleControl();
            this.swapIconBox = new PaintDotNet.IconBox();
            this.blackAndWhiteIconBox = new PaintDotNet.IconBox();
            this.toolTip = new System.Windows.Forms.ToolTip(this.components);
            this.SuspendLayout();
            // 
            // foreColorRectangle
            // 
            this.primaryColorRectangle.Name = "foreColorRectangle";
            this.primaryColorRectangle.RectangleColor = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(192)));
            this.primaryColorRectangle.Size = new System.Drawing.Size(28, 28);
            this.primaryColorRectangle.TabIndex = 0;
            this.primaryColorRectangle.Click += new System.EventHandler(this.PrimaryColorRectangle_Click);
            this.primaryColorRectangle.KeyUp += new System.Windows.Forms.KeyEventHandler(this.Control_KeyUp);
            // 
            // backColorRectangle
            // 
            this.secondaryColorRectangle.Name = "backColorRectangle";
            this.secondaryColorRectangle.RectangleColor = System.Drawing.Color.Magenta;
            this.secondaryColorRectangle.Size = new System.Drawing.Size(28, 28);
            this.secondaryColorRectangle.TabIndex = 1;
            this.secondaryColorRectangle.Click += new System.EventHandler(this.SecondaryColorRectangle_Click);
            this.secondaryColorRectangle.KeyUp += new System.Windows.Forms.KeyEventHandler(this.Control_KeyUp);
            // 
            // swapIconBox
            // 
            this.swapIconBox.Icon = null;
            this.swapIconBox.Name = "swapIconBox";
            this.swapIconBox.Size = new System.Drawing.Size(15, 15);
            this.swapIconBox.TabIndex = 2;
            this.swapIconBox.TabStop = false;
            this.swapIconBox.Click += new System.EventHandler(this.SwapIconBox_Click);
            this.swapIconBox.KeyUp += new System.Windows.Forms.KeyEventHandler(this.Control_KeyUp);
            this.swapIconBox.DoubleClick += new System.EventHandler(this.SwapIconBox_Click);
            // 
            // blackAndWhiteIconBox
            // 
            this.blackAndWhiteIconBox.Icon = null;
            this.blackAndWhiteIconBox.Name = "blackAndWhiteIconBox";
            this.blackAndWhiteIconBox.Size = new System.Drawing.Size(15, 15);
            this.blackAndWhiteIconBox.TabIndex = 3;
            this.blackAndWhiteIconBox.TabStop = false;
            this.blackAndWhiteIconBox.Click += new System.EventHandler(this.BlackAndWhiteIconBox_Click);
            this.blackAndWhiteIconBox.KeyUp += new System.Windows.Forms.KeyEventHandler(this.Control_KeyUp);
            this.blackAndWhiteIconBox.DoubleClick += new System.EventHandler(this.BlackAndWhiteIconBox_Click);
            // 
            // toolTip
            // 
            this.toolTip.ShowAlways = true;
            // 
            // ColorDisplayWidget
            // 
            this.Controls.Add(this.blackAndWhiteIconBox);
            this.Controls.Add(this.swapIconBox);
            this.Controls.Add(this.primaryColorRectangle);
            this.Controls.Add(this.secondaryColorRectangle);
            this.AutoScaleDimensions = new SizeF(96F, 96F);
            this.AutoScaleMode = AutoScaleMode.Dpi;
            this.Name = "ColorDisplayWidget";
            this.Size = new System.Drawing.Size(48, 48);
            this.ResumeLayout(false);

        }