コード例 #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.colorPanel = new PJLControls.ColorPanelWithCapture();
     this.SuspendLayout();
     //
     // colorPanel
     //
     this.colorPanel.BackColor      = System.Drawing.SystemColors.Control;
     this.colorPanel.BorderStyle    = System.Windows.Forms.BorderStyle.FixedSingle;
     this.colorPanel.Color          = System.Drawing.Color.Red;
     this.colorPanel.ColorSet       = PJLControls.ColorSet.Web;
     this.colorPanel.ColorSortOrder = PJLControls.ColorSortOrder.Brightness;
     this.colorPanel.ColorWellSize  = new System.Drawing.Size(16, 16);
     this.colorPanel.Columns        = 0;
     this.colorPanel.CustomColors   = new System.Drawing.Color[] {
         System.Drawing.Color.White
     };
     this.colorPanel.Name          = "colorPanel";
     this.colorPanel.Size          = new System.Drawing.Size(292, 132);
     this.colorPanel.TabIndex      = 0;
     this.colorPanel.ColorChanged += new PJLControls.ColorChangedEventHandler(this.colorPanel_ColorChanged);
     this.colorPanel.PanelClosing += new PJLControls.ColorPanelClosingEventHandler(this.colorPanel_PanelClosing);
     this.colorPanel.Resize       += new System.EventHandler(this.colorPanel_Resize);
     //
     // ColorPanelForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(360, 176);
     this.ControlBox        = false;
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.colorPanel
     });
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Name            = "ColorPanelForm";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.Manual;
     this.Text            = "ColorPanelForm";
     this.ResumeLayout(false);
 }
コード例 #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.colorPanel = new PJLControls.ColorPanelWithCapture();
			this.SuspendLayout();
			// 
			// colorPanel
			// 
			this.colorPanel.BackColor = System.Drawing.SystemColors.Control;
			this.colorPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
			this.colorPanel.Color = System.Drawing.Color.Red;
			this.colorPanel.ColorSet = PJLControls.ColorSet.Web;
			this.colorPanel.ColorSortOrder = PJLControls.ColorSortOrder.Brightness;
			this.colorPanel.ColorWellSize = new System.Drawing.Size(16, 16);
			this.colorPanel.Columns = 0;
			this.colorPanel.CustomColors = new System.Drawing.Color[] {
																		  System.Drawing.Color.White};
			this.colorPanel.Name = "colorPanel";
			this.colorPanel.Size = new System.Drawing.Size(292, 132);
			this.colorPanel.TabIndex = 0;
			this.colorPanel.ColorChanged += new PJLControls.ColorChangedEventHandler(this.colorPanel_ColorChanged);
			this.colorPanel.PanelClosing += new PJLControls.ColorPanelClosingEventHandler(this.colorPanel_PanelClosing);
			this.colorPanel.Resize += new System.EventHandler(this.colorPanel_Resize);
			// 
			// ColorPanelForm
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(360, 176);
			this.ControlBox = false;
			this.Controls.AddRange(new System.Windows.Forms.Control[] {
																		  this.colorPanel});
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
			this.Name = "ColorPanelForm";
			this.ShowInTaskbar = false;
			this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
			this.Text = "ColorPanelForm";
			this.ResumeLayout(false);

		}