コード例 #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.colorPresets               = new OpenLiveWriter.ApplicationFramework.ColorPresetControl(this.colorPickerForm_ColorSelected, this.sc_Navigate);
            this.colorDefaultColorControl   = new OpenLiveWriter.ApplicationFramework.ColorDefaultColorControl(this.colorPickerForm_ColorSelected, this.sc_Navigate);
            this.colorDialogLauncherControl = new OpenLiveWriter.ApplicationFramework.ColorDialogLauncherControl(this.colorPickerForm_ColorSelected, this.sc_Navigate);
            this.SuspendLayout();
            //
            // colorPresets
            //
            this.colorPresets.Location = new System.Drawing.Point(11, 39);
            this.colorPresets.Name     = "colorPresets";
            this.colorPresets.Size     = new System.Drawing.Size(96, 72);
            this.colorPresets.TabIndex = 1;
            this.colorPresets.TabStop  = true;
            //
            // colorDefaultColorControl
            //
            this.colorDefaultColorControl.Location = new System.Drawing.Point(5, 5);
            this.colorDefaultColorControl.Name     = "colorDefaultColorControl";
            this.colorDefaultColorControl.Size     = new System.Drawing.Size(108, 32);
            this.colorDefaultColorControl.TabIndex = 0;
            this.colorDefaultColorControl.TabStop  = true;
            //
            // colorDialogLauncherControl
            //
            this.colorDialogLauncherControl.Location = new System.Drawing.Point(5, 112);
            this.colorDialogLauncherControl.Name     = "colorDialogLauncherControl";
            this.colorDialogLauncherControl.Size     = new System.Drawing.Size(108, 24);
            this.colorDialogLauncherControl.TabIndex = 2;
            this.colorDialogLauncherControl.TabStop  = true;

            //
            // ColorPickerForm
            //
            this.AutoScaleMode     = AutoScaleMode.None;
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
            this.BackColor         = System.Drawing.SystemColors.Window;
            this.ClientSize        = new System.Drawing.Size(118, 141);
            this.ControlBox        = false;
            this.Controls.Add(this.colorDialogLauncherControl);
            this.Controls.Add(this.colorDefaultColorControl);
            this.Controls.Add(this.colorPresets);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            this.MaximizeBox     = false;
            this.MinimizeBox     = false;
            this.Name            = "ColorPickerForm";
            this.Text            = "ColorPickerForm";
            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.colorPresets = new OpenLiveWriter.ApplicationFramework.ColorPresetControl(this.colorPickerForm_ColorSelected, this.sc_Navigate);
            this.colorDefaultColorControl = new OpenLiveWriter.ApplicationFramework.ColorDefaultColorControl(this.colorPickerForm_ColorSelected, this.sc_Navigate);
            this.colorDialogLauncherControl = new OpenLiveWriter.ApplicationFramework.ColorDialogLauncherControl(this.colorPickerForm_ColorSelected, this.sc_Navigate);
            this.SuspendLayout();
            //
            // colorPresets
            //
            this.colorPresets.Location = new System.Drawing.Point(11, 39);
            this.colorPresets.Name = "colorPresets";
            this.colorPresets.Size = new System.Drawing.Size(96, 72);
            this.colorPresets.TabIndex = 1;
            this.colorPresets.TabStop = true;
            //
            // colorDefaultColorControl
            //
            this.colorDefaultColorControl.Location = new System.Drawing.Point(5, 5);
            this.colorDefaultColorControl.Name = "colorDefaultColorControl";
            this.colorDefaultColorControl.Size = new System.Drawing.Size(108, 32);
            this.colorDefaultColorControl.TabIndex = 0;
            this.colorDefaultColorControl.TabStop = true;
            //
            // colorDialogLauncherControl
            //
            this.colorDialogLauncherControl.Location = new System.Drawing.Point(5, 112);
            this.colorDialogLauncherControl.Name = "colorDialogLauncherControl";
            this.colorDialogLauncherControl.Size = new System.Drawing.Size(108, 24);
            this.colorDialogLauncherControl.TabIndex = 2;
            this.colorDialogLauncherControl.TabStop = true;

            //
            // ColorPickerForm
            //
            this.AutoScaleMode = AutoScaleMode.None;
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
            this.BackColor = System.Drawing.SystemColors.Window;
            this.ClientSize = new System.Drawing.Size(118, 141);
            this.ControlBox = false;
            this.Controls.Add(this.colorDialogLauncherControl);
            this.Controls.Add(this.colorDefaultColorControl);
            this.Controls.Add(this.colorPresets);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "ColorPickerForm";
            this.Text = "ColorPickerForm";
            this.ResumeLayout(false);

        }