/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.knobControl1 = new KnobControl.KnobControl(); this.GKnob = new KnobControl.KnobControl(); this.Bknob = new KnobControl.KnobControl(); this.Rknob = new KnobControl.KnobControl(); this.SuspendLayout(); // // label1 // this.label1.BackColor = System.Drawing.Color.Black; this.label1.Location = new System.Drawing.Point(16, 32); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(304, 128); this.label1.TabIndex = 3; // // label2 // this.label2.Location = new System.Drawing.Point(32, 280); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(40, 23); this.label2.TabIndex = 4; this.label2.Text = "Red"; // // label3 // this.label3.Location = new System.Drawing.Point(136, 280); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(40, 23); this.label3.TabIndex = 5; this.label3.Text = "Green"; // // label4 // this.label4.Location = new System.Drawing.Point(248, 280); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(40, 23); this.label4.TabIndex = 6; this.label4.Text = "Blue"; // // knobControl1 // this.knobControl1.BackColor = System.Drawing.SystemColors.Control; this.knobControl1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knobControl1.ForeColor = System.Drawing.Color.Red; this.knobControl1.ImeMode = System.Windows.Forms.ImeMode.On; this.knobControl1.LargeChange = 1; this.knobControl1.Location = new System.Drawing.Point(402, 97); this.knobControl1.Maximum = 3; this.knobControl1.Minimum = 0; this.knobControl1.Name = "knobControl1"; this.knobControl1.ShowLargeScale = true; this.knobControl1.ShowSmallScale = true; this.knobControl1.Size = new System.Drawing.Size(218, 206); this.knobControl1.SmallChange = 1; this.knobControl1.TabIndex = 6; this.knobControl1.TabStop = false; this.knobControl1.Value = 0; // // GKnob // this.GKnob.ForeColor = System.Drawing.Color.Green; this.GKnob.ImeMode = System.Windows.Forms.ImeMode.On; this.GKnob.LargeChange = 51; this.GKnob.Location = new System.Drawing.Point(112, 176); this.GKnob.Maximum = 255; this.GKnob.Minimum = 0; this.GKnob.Name = "GKnob"; this.GKnob.ShowLargeScale = true; this.GKnob.ShowSmallScale = false; this.GKnob.Size = new System.Drawing.Size(96, 96); this.GKnob.SmallChange = 1; this.GKnob.TabIndex = 1; this.GKnob.Value = 0; this.GKnob.ValueChanged += new KnobControl.ValueChangedEventHandler(this.Gknob_ValueChanged); // // Bknob // this.Bknob.ForeColor = System.Drawing.Color.Blue; this.Bknob.ImeMode = System.Windows.Forms.ImeMode.On; this.Bknob.LargeChange = 50; this.Bknob.Location = new System.Drawing.Point(216, 176); this.Bknob.Maximum = 250; this.Bknob.Minimum = 0; this.Bknob.Name = "Bknob"; this.Bknob.ShowLargeScale = true; this.Bknob.ShowSmallScale = true; this.Bknob.Size = new System.Drawing.Size(104, 96); this.Bknob.SmallChange = 10; this.Bknob.TabIndex = 2; this.Bknob.Value = 0; this.Bknob.ValueChanged += new KnobControl.ValueChangedEventHandler(this.Bknob_ValueChanged); // // Rknob // this.Rknob.ForeColor = System.Drawing.Color.Red; this.Rknob.ImeMode = System.Windows.Forms.ImeMode.On; this.Rknob.LargeChange = 51; this.Rknob.Location = new System.Drawing.Point(10, 176); this.Rknob.Maximum = 255; this.Rknob.Minimum = 0; this.Rknob.Name = "Rknob"; this.Rknob.ShowLargeScale = true; this.Rknob.ShowSmallScale = false; this.Rknob.Size = new System.Drawing.Size(96, 96); this.Rknob.SmallChange = 1; this.Rknob.TabIndex = 0; this.Rknob.Value = 0; this.Rknob.ValueChanged += new KnobControl.ValueChangedEventHandler(this.Rknob_ValueChanged); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.BackColor = System.Drawing.SystemColors.Control; this.ClientSize = new System.Drawing.Size(700, 370); this.Controls.Add(this.knobControl1); this.Controls.Add(this.label4); this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.GKnob); this.Controls.Add(this.Bknob); this.Controls.Add(this.Rknob); this.Name = "Form1"; this.Text = "C-SharpCorner"; 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.Rknob = new KnobControl.KnobControl(); this.Bknob = new KnobControl.KnobControl(); this.GKnob = new KnobControl.KnobControl(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.SuspendLayout(); // // Rknob // this.Rknob.ForeColor = System.Drawing.Color.Red; this.Rknob.ImeMode = System.Windows.Forms.ImeMode.On; this.Rknob.LargeChange = 51; this.Rknob.Location = new System.Drawing.Point(8, 176); this.Rknob.Maximum = 255; this.Rknob.Minimum = 0; this.Rknob.Name = "Rknob"; this.Rknob.ShowLargeScale = true; this.Rknob.ShowSmallScale = false; this.Rknob.Size = new System.Drawing.Size(96, 96); this.Rknob.SmallChange = 1; this.Rknob.TabIndex = 0; this.Rknob.Value = 0; this.Rknob.ValueChanged += new KnobControl.ValueChangedEventHandler(this.Rknob_ValueChanged); // // Bknob // this.Bknob.ForeColor = System.Drawing.Color.Blue; this.Bknob.ImeMode = System.Windows.Forms.ImeMode.On; this.Bknob.LargeChange = 50; this.Bknob.Location = new System.Drawing.Point(216, 176); this.Bknob.Maximum = 250; this.Bknob.Minimum = 0; this.Bknob.Name = "Bknob"; this.Bknob.ShowLargeScale = true; this.Bknob.ShowSmallScale = true; this.Bknob.Size = new System.Drawing.Size(104, 96); this.Bknob.SmallChange = 10; this.Bknob.TabIndex = 2; this.Bknob.Value = 0; this.Bknob.ValueChanged += new KnobControl.ValueChangedEventHandler(this.Bknob_ValueChanged); // // GKnob // this.GKnob.ForeColor = System.Drawing.Color.Green; this.GKnob.ImeMode = System.Windows.Forms.ImeMode.On; this.GKnob.LargeChange = 51; this.GKnob.Location = new System.Drawing.Point(112, 176); this.GKnob.Maximum = 255; this.GKnob.Minimum = 0; this.GKnob.Name = "GKnob"; this.GKnob.ShowLargeScale = true; this.GKnob.ShowSmallScale = false; this.GKnob.Size = new System.Drawing.Size(96, 96); this.GKnob.SmallChange = 1; this.GKnob.TabIndex = 1; this.GKnob.Value = 0; this.GKnob.ValueChanged += new KnobControl.ValueChangedEventHandler(this.Gknob_ValueChanged); // // label1 // this.label1.BackColor = System.Drawing.Color.Black; this.label1.Location = new System.Drawing.Point(16, 32); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(304, 128); this.label1.TabIndex = 3; // // label2 // this.label2.Location = new System.Drawing.Point(32, 280); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(40, 23); this.label2.TabIndex = 4; this.label2.Text = "Red"; // // label3 // this.label3.Location = new System.Drawing.Point(136, 280); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(40, 23); this.label3.TabIndex = 5; this.label3.Text = "Green"; // // label4 // this.label4.Location = new System.Drawing.Point(248, 280); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(40, 23); this.label4.TabIndex = 6; this.label4.Text = "Blue"; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(336, 317); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.label4, this.label3, this.label2, this.label1, this.GKnob, this.Bknob, this.Rknob }); this.Name = "Form1"; this.Text = "C-SharpCorner"; this.ResumeLayout(false); }