private void InitializeComponent() { this.tableLayoutPanel1 = new TableLayoutPanel(); this.radLabelAmount = new RadLabel(); this.radTrackBarValue = new RadTrackBar(); this.radSpinEditorValue = new RadSpinEditor(); this.radButtonReset = new RadButton(); this.tableLayoutPanel1.SuspendLayout(); this.radLabelAmount.BeginInit(); this.radTrackBarValue.BeginInit(); this.radSpinEditorValue.BeginInit(); this.radButtonReset.BeginInit(); this.BeginInit(); this.SuspendLayout(); this.tableLayoutPanel1.ColumnCount = 2; this.tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50f)); this.tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50f)); this.tableLayoutPanel1.Controls.Add((Control)this.radLabelAmount, 0, 0); this.tableLayoutPanel1.Controls.Add((Control)this.radTrackBarValue, 0, 1); this.tableLayoutPanel1.Controls.Add((Control)this.radSpinEditorValue, 1, 1); this.tableLayoutPanel1.Controls.Add((Control)this.radButtonReset, 1, 2); this.tableLayoutPanel1.Dock = DockStyle.Fill; this.tableLayoutPanel1.Location = new Point(0, 0); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 3; this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 33.33333f)); this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 33.33333f)); this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 33.33333f)); this.tableLayoutPanel1.Size = new Size(292, 110); this.tableLayoutPanel1.TabIndex = 0; this.radLabelAmount.Anchor = AnchorStyles.Bottom | AnchorStyles.Left; this.radLabelAmount.Location = new Point(3, 9); this.radLabelAmount.Name = "radLabelAmount"; this.radLabelAmount.Size = new Size(47, 18); this.radLabelAmount.TabIndex = 0; this.radLabelAmount.Text = "Amount"; this.radTrackBarValue.BackColor = Color.Transparent; this.radTrackBarValue.LargeTickFrequency = 100; this.radTrackBarValue.Location = new Point(3, 37); this.radTrackBarValue.Margin = new Padding(3, 0, 3, 0); this.radTrackBarValue.Maximum = 100f; this.radTrackBarValue.Name = "radTrackBarValue"; this.radTrackBarValue.Size = new Size(140, 34); this.radTrackBarValue.SmallTickFrequency = 0; this.radTrackBarValue.TabIndex = 1; this.radSpinEditorValue.Anchor = AnchorStyles.Left | AnchorStyles.Right; this.radSpinEditorValue.Location = new Point(149, 44); this.radSpinEditorValue.Margin = new Padding(3, 0, 3, 0); this.radSpinEditorValue.Name = "radSpinEditorValue"; this.radSpinEditorValue.Size = new Size(140, 20); this.radSpinEditorValue.TabIndex = 2; this.radSpinEditorValue.TabStop = false; this.radButtonReset.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; this.radButtonReset.Location = new Point(179, 84); this.radButtonReset.Name = "radButtonReset"; this.radButtonReset.Size = new Size(110, 23); this.radButtonReset.TabIndex = 3; this.radButtonReset.Text = "Reset"; this.AutoScaleDimensions = new SizeF(6f, 13f); this.AutoScaleMode = AutoScaleMode.Font; this.ClientSize = new Size(292, 90); this.Controls.Add((Control)this.tableLayoutPanel1); this.FormBorderStyle = FormBorderStyle.FixedToolWindow; this.Name = nameof(SharpenDialog); this.RootElement.ApplyShapeToControl = true; this.ShowIcon = false; this.Text = "Sharpen"; this.tableLayoutPanel1.ResumeLayout(false); this.tableLayoutPanel1.PerformLayout(); this.radLabelAmount.EndInit(); this.radTrackBarValue.EndInit(); this.radSpinEditorValue.EndInit(); this.radButtonReset.EndInit(); this.EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { this.tableLayoutPanel1 = new TableLayoutPanel(); this.radLabelRadius = new RadLabel(); this.radLabelBackground = new RadLabel(); this.radLabelBorderThickness = new RadLabel(); this.radLabelBorderColor = new RadLabel(); this.radTrackBarRadius = new RadTrackBar(); this.radTrackBarBorderThickness = new RadTrackBar(); this.radSpinEditorRadius = new RadSpinEditor(); this.radSpinEditorBorderThickness = new RadSpinEditor(); this.radColorBoxBackground = new RadColorBox(); this.radColorBoxBorderColor = new RadColorBox(); this.radButtonReset = new RadButton(); this.tableLayoutPanel1.SuspendLayout(); this.radLabelRadius.BeginInit(); this.radLabelBackground.BeginInit(); this.radLabelBorderThickness.BeginInit(); this.radLabelBorderColor.BeginInit(); this.radTrackBarRadius.BeginInit(); this.radTrackBarBorderThickness.BeginInit(); this.radSpinEditorRadius.BeginInit(); this.radSpinEditorBorderThickness.BeginInit(); this.radColorBoxBackground.BeginInit(); this.radColorBoxBorderColor.BeginInit(); this.radButtonReset.BeginInit(); this.BeginInit(); this.SuspendLayout(); this.tableLayoutPanel1.ColumnCount = 2; this.tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50f)); this.tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50f)); this.tableLayoutPanel1.Controls.Add((Control)this.radLabelRadius, 0, 0); this.tableLayoutPanel1.Controls.Add((Control)this.radLabelBackground, 0, 2); this.tableLayoutPanel1.Controls.Add((Control)this.radLabelBorderThickness, 0, 3); this.tableLayoutPanel1.Controls.Add((Control)this.radLabelBorderColor, 0, 5); this.tableLayoutPanel1.Controls.Add((Control)this.radTrackBarRadius, 0, 1); this.tableLayoutPanel1.Controls.Add((Control)this.radTrackBarBorderThickness, 0, 4); this.tableLayoutPanel1.Controls.Add((Control)this.radSpinEditorRadius, 1, 1); this.tableLayoutPanel1.Controls.Add((Control)this.radSpinEditorBorderThickness, 1, 4); this.tableLayoutPanel1.Controls.Add((Control)this.radColorBoxBackground, 1, 2); this.tableLayoutPanel1.Controls.Add((Control)this.radColorBoxBorderColor, 1, 5); this.tableLayoutPanel1.Controls.Add((Control)this.radButtonReset, 1, 6); this.tableLayoutPanel1.Dock = DockStyle.Fill; this.tableLayoutPanel1.Location = new Point(0, 0); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 7; this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 14.28571f)); this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 14.28571f)); this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 14.28571f)); this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 14.28571f)); this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 14.28571f)); this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 14.28571f)); this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 14.28571f)); this.tableLayoutPanel1.Size = new Size(292, 266); this.tableLayoutPanel1.TabIndex = 0; this.radLabelRadius.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; this.radLabelRadius.AutoSize = false; this.radLabelRadius.Location = new Point(3, 9); this.radLabelRadius.Name = "radLabelRadius"; this.radLabelRadius.Size = new Size(39, 18); this.radLabelRadius.TabIndex = 0; this.radLabelRadius.Text = "Radius"; this.radLabelBackground.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; this.radLabelBackground.AutoSize = false; this.radLabelBackground.Location = new Point(3, 77); this.radLabelBackground.Name = "radLabelBackground"; this.radLabelBackground.Size = new Size(68, 18); this.radLabelBackground.TabIndex = 0; this.radLabelBackground.Text = "Background:"; this.radLabelBorderThickness.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; this.radLabelBorderThickness.AutoSize = false; this.radLabelBorderThickness.Location = new Point(3, 120); this.radLabelBorderThickness.Name = "radLabelBorderThickness"; this.radLabelBorderThickness.Size = new Size(93, 18); this.radLabelBorderThickness.TabIndex = 0; this.radLabelBorderThickness.Text = "Border Thickness:"; this.radLabelBorderColor.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; this.radLabelBorderColor.AutoSize = false; this.radLabelBorderColor.Location = new Point(3, 188); this.radLabelBorderColor.Name = "radLabelBorderColor"; this.radLabelBorderColor.Size = new Size(72, 18); this.radLabelBorderColor.TabIndex = 0; this.radLabelBorderColor.Text = "Border Color:"; this.radTrackBarRadius.BackColor = Color.Transparent; this.radTrackBarRadius.LargeTickFrequency = 100; this.radTrackBarRadius.Location = new Point(3, 37); this.radTrackBarRadius.Margin = new Padding(3, 0, 3, 0); this.radTrackBarRadius.Maximum = 100f; this.radTrackBarRadius.Name = "radTrackBarRadius"; this.radTrackBarRadius.Size = new Size(140, 16); this.radTrackBarRadius.SmallTickFrequency = 0; this.radTrackBarRadius.TabIndex = 1; this.radTrackBarBorderThickness.BackColor = Color.Transparent; this.radTrackBarBorderThickness.LargeTickFrequency = 100; this.radTrackBarBorderThickness.Location = new Point(3, 148); this.radTrackBarBorderThickness.Margin = new Padding(3, 0, 3, 0); this.radTrackBarBorderThickness.Maximum = 100f; this.radTrackBarBorderThickness.Name = "radTrackBarBorderThickness"; this.radTrackBarBorderThickness.Size = new Size(140, 16); this.radTrackBarBorderThickness.SmallTickFrequency = 0; this.radTrackBarBorderThickness.TabIndex = 1; this.radSpinEditorRadius.Anchor = AnchorStyles.Left | AnchorStyles.Right; this.radSpinEditorRadius.Location = new Point(149, 37); this.radSpinEditorRadius.Margin = new Padding(3, 0, 3, 0); this.radSpinEditorRadius.Name = "radSpinEditorRadius"; this.radSpinEditorRadius.Size = new Size(140, 20); this.radSpinEditorRadius.TabIndex = 2; this.radSpinEditorRadius.TabStop = false; this.radSpinEditorBorderThickness.Anchor = AnchorStyles.Left | AnchorStyles.Right; this.radSpinEditorBorderThickness.Location = new Point(149, 148); this.radSpinEditorBorderThickness.Margin = new Padding(3, 0, 3, 0); this.radSpinEditorBorderThickness.Name = "radSpinEditorBorderThickness"; this.radSpinEditorBorderThickness.Size = new Size(140, 20); this.radSpinEditorBorderThickness.TabIndex = 2; this.radSpinEditorBorderThickness.TabStop = false; this.radColorBoxBackground.Anchor = AnchorStyles.Left | AnchorStyles.Right; this.radColorBoxBackground.Location = new Point(149, 74); this.radColorBoxBackground.Margin = new Padding(3, 0, 3, 0); this.radColorBoxBackground.Name = "radColorBoxBackground"; this.radColorBoxBackground.Size = new Size(140, 20); this.radColorBoxBackground.TabIndex = 3; this.radColorBoxBackground.Value = Color.White; this.radColorBoxBorderColor.Anchor = AnchorStyles.Left | AnchorStyles.Right; this.radColorBoxBorderColor.Location = new Point(149, 185); this.radColorBoxBorderColor.Margin = new Padding(3, 0, 3, 0); this.radColorBoxBorderColor.Name = "radColorBoxBorderColor"; this.radColorBoxBorderColor.Size = new Size(140, 20); this.radColorBoxBorderColor.TabIndex = 3; this.radColorBoxBorderColor.Value = Color.White; this.radButtonReset.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; this.radButtonReset.Location = new Point(179, 239); this.radButtonReset.Name = "radButtonReset"; this.radButtonReset.Size = new Size(110, 24); this.radButtonReset.TabIndex = 4; this.radButtonReset.Text = "Reset"; this.AutoScaleDimensions = new SizeF(6f, 13f); this.AutoScaleMode = AutoScaleMode.Font; this.ClientSize = new Size(292, 266); this.Controls.Add((Control)this.tableLayoutPanel1); this.FormBorderStyle = FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = nameof(RoundCornersDialog); this.RootElement.ApplyShapeToControl = true; this.ShowIcon = false; this.ShowInTaskbar = false; this.Text = "Round Corners"; this.tableLayoutPanel1.ResumeLayout(false); this.tableLayoutPanel1.PerformLayout(); this.radLabelRadius.EndInit(); this.radLabelBackground.EndInit(); this.radLabelBorderThickness.EndInit(); this.radLabelBorderColor.EndInit(); this.radTrackBarRadius.EndInit(); this.radTrackBarBorderThickness.EndInit(); this.radSpinEditorRadius.EndInit(); this.radSpinEditorBorderThickness.EndInit(); this.radColorBoxBackground.EndInit(); this.radColorBoxBorderColor.EndInit(); this.radButtonReset.EndInit(); this.EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { this.tableLayoutPanel1 = new TableLayoutPanel(); this.radLabelHueShift = new RadLabel(); this.radTrackBarShift = new RadTrackBar(); this.radSpinEditorShift = new RadSpinEditor(); this.radButtonReset = new RadButton(); this.tableLayoutPanel1.SuspendLayout(); this.radLabelHueShift.BeginInit(); this.radTrackBarShift.BeginInit(); this.radSpinEditorShift.BeginInit(); this.radButtonReset.BeginInit(); this.BeginInit(); this.SuspendLayout(); this.tableLayoutPanel1.ColumnCount = 2; this.tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50f)); this.tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50f)); this.tableLayoutPanel1.Controls.Add((Control)this.radLabelHueShift, 0, 0); this.tableLayoutPanel1.Controls.Add((Control)this.radTrackBarShift, 0, 1); this.tableLayoutPanel1.Controls.Add((Control)this.radSpinEditorShift, 1, 1); this.tableLayoutPanel1.Controls.Add((Control)this.radButtonReset, 1, 2); this.tableLayoutPanel1.Dock = DockStyle.Fill; this.tableLayoutPanel1.Location = new Point(0, 0); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 3; this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 33.33333f)); this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 33.33333f)); this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 33.33333f)); this.tableLayoutPanel1.Size = new Size(300, 110); this.tableLayoutPanel1.TabIndex = 0; this.radLabelHueShift.Anchor = AnchorStyles.Bottom | AnchorStyles.Left; this.radLabelHueShift.Location = new Point(3, 15); this.radLabelHueShift.Name = "radLabelHueShift"; this.radLabelHueShift.Size = new Size(52, 18); this.radLabelHueShift.TabIndex = 0; this.radLabelHueShift.Text = "Hue Shift"; this.radTrackBarShift.BackColor = Color.Transparent; this.radTrackBarShift.LargeTickFrequency = 360; this.radTrackBarShift.Location = new Point(3, 37); this.radTrackBarShift.Margin = new Padding(3, 0, 3, 0); this.radTrackBarShift.Maximum = 360f; this.radTrackBarShift.Name = "radTrackBarShift"; this.radTrackBarShift.Size = new Size(144, 34); this.radTrackBarShift.SmallTickFrequency = 0; this.radTrackBarShift.TabIndex = 1; this.radSpinEditorShift.Anchor = AnchorStyles.Left | AnchorStyles.Right; this.radSpinEditorShift.Location = new Point(153, 44); this.radSpinEditorShift.Margin = new Padding(3, 0, 3, 0); this.radSpinEditorShift.Maximum = new Decimal(new int[4] { 360, 0, 0, 0 }); this.radSpinEditorShift.Name = "radSpinEditorShift"; this.radSpinEditorShift.Size = new Size(144, 20); this.radSpinEditorShift.TabIndex = 2; this.radSpinEditorShift.TabStop = false; this.radButtonReset.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; this.radButtonReset.Location = new Point(187, 83); this.radButtonReset.Name = "radButtonReset"; this.radButtonReset.Size = new Size(110, 24); this.radButtonReset.TabIndex = 3; this.radButtonReset.Text = "Reset"; this.AutoScaleDimensions = new SizeF(6f, 13f); this.AutoScaleMode = AutoScaleMode.Font; this.ClientSize = new Size(292, 90); this.Controls.Add((Control)this.tableLayoutPanel1); this.FormBorderStyle = FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = nameof(HueShiftDialog); this.RootElement.ApplyShapeToControl = true; this.ShowIcon = false; this.ShowInTaskbar = false; this.Text = "Hue Shift"; this.tableLayoutPanel1.ResumeLayout(false); this.tableLayoutPanel1.PerformLayout(); this.radLabelHueShift.EndInit(); this.radTrackBarShift.EndInit(); this.radSpinEditorShift.EndInit(); this.radButtonReset.EndInit(); this.EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { this.tableLayoutPanel1 = new TableLayoutPanel(); this.radLabelContrast = new RadLabel(); this.radTrackBarBrightness = new RadTrackBar(); this.radTrackBarContrast = new RadTrackBar(); this.radSpinEditorBrightness = new RadSpinEditor(); this.radSpinEditorContrast = new RadSpinEditor(); this.radButtonReset = new RadButton(); this.radLabelBrightness = new RadLabel(); this.tableLayoutPanel1.SuspendLayout(); this.radLabelContrast.BeginInit(); this.radTrackBarBrightness.BeginInit(); this.radTrackBarContrast.BeginInit(); this.radSpinEditorBrightness.BeginInit(); this.radSpinEditorContrast.BeginInit(); this.radButtonReset.BeginInit(); this.radLabelBrightness.BeginInit(); this.BeginInit(); this.SuspendLayout(); this.tableLayoutPanel1.ColumnCount = 2; this.tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50f)); this.tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50f)); this.tableLayoutPanel1.Controls.Add((Control)this.radLabelContrast, 0, 2); this.tableLayoutPanel1.Controls.Add((Control)this.radTrackBarBrightness, 0, 1); this.tableLayoutPanel1.Controls.Add((Control)this.radTrackBarContrast, 0, 3); this.tableLayoutPanel1.Controls.Add((Control)this.radSpinEditorBrightness, 1, 1); this.tableLayoutPanel1.Controls.Add((Control)this.radSpinEditorContrast, 1, 3); this.tableLayoutPanel1.Controls.Add((Control)this.radButtonReset, 1, 4); this.tableLayoutPanel1.Controls.Add((Control)this.radLabelBrightness, 0, 0); this.tableLayoutPanel1.Dock = DockStyle.Fill; this.tableLayoutPanel1.Location = new Point(0, 0); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 5; this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 20f)); this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 20f)); this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 20f)); this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 20f)); this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 20f)); this.tableLayoutPanel1.Size = new Size(292, 181); this.tableLayoutPanel1.TabIndex = 0; this.radLabelContrast.Anchor = AnchorStyles.Bottom | AnchorStyles.Left; this.radLabelContrast.Location = new Point(3, 87); this.radLabelContrast.Name = "radLabelContrast"; this.radLabelContrast.Size = new Size(48, 18); this.radLabelContrast.TabIndex = 1; this.radLabelContrast.Text = "Contrast"; this.radTrackBarBrightness.BackColor = Color.Transparent; this.radTrackBarBrightness.LargeTickFrequency = 200; this.radTrackBarBrightness.Location = new Point(3, 36); this.radTrackBarBrightness.Margin = new Padding(3, 0, 3, 0); this.radTrackBarBrightness.Maximum = 200f; this.radTrackBarBrightness.Name = "radTrackBarBrightness"; this.radTrackBarBrightness.Size = new Size(140, 36); this.radTrackBarBrightness.SmallTickFrequency = 0; this.radTrackBarBrightness.TabIndex = 2; this.radTrackBarBrightness.Value = 100f; this.radTrackBarContrast.BackColor = Color.Transparent; this.radTrackBarContrast.LargeTickFrequency = 50; this.radTrackBarContrast.Location = new Point(3, 108); this.radTrackBarContrast.Margin = new Padding(3, 0, 3, 0); this.radTrackBarContrast.Maximum = 200f; this.radTrackBarContrast.Name = "radTrackBarContrast"; this.radTrackBarContrast.Size = new Size(140, 36); this.radTrackBarContrast.SmallTickFrequency = 10; this.radTrackBarContrast.TabIndex = 3; this.radTrackBarContrast.Value = 100f; this.radSpinEditorBrightness.Anchor = AnchorStyles.Left | AnchorStyles.Right; this.radSpinEditorBrightness.Location = new Point(149, 44); this.radSpinEditorBrightness.Margin = new Padding(3, 0, 3, 0); this.radSpinEditorBrightness.Minimum = new Decimal(new int[4] { 100, 0, 0, int.MinValue }); this.radSpinEditorBrightness.Name = "radSpinEditorBrightness"; this.radSpinEditorBrightness.Size = new Size(140, 20); this.radSpinEditorBrightness.TabIndex = 4; this.radSpinEditorBrightness.TabStop = false; this.radSpinEditorContrast.Anchor = AnchorStyles.Left | AnchorStyles.Right; this.radSpinEditorContrast.Location = new Point(149, 116); this.radSpinEditorContrast.Margin = new Padding(3, 0, 3, 0); this.radSpinEditorContrast.Minimum = new Decimal(new int[4] { 100, 0, 0, int.MinValue }); this.radSpinEditorContrast.Name = "radSpinEditorContrast"; this.radSpinEditorContrast.Size = new Size(140, 20); this.radSpinEditorContrast.TabIndex = 5; this.radSpinEditorContrast.TabStop = false; this.radButtonReset.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; this.radButtonReset.Location = new Point(179, 154); this.radButtonReset.Name = "radButtonReset"; this.radButtonReset.Size = new Size(110, 24); this.radButtonReset.TabIndex = 6; this.radButtonReset.Text = "Reset"; this.radLabelBrightness.Anchor = AnchorStyles.Bottom | AnchorStyles.Left; this.radLabelBrightness.Location = new Point(3, 15); this.radLabelBrightness.Name = "radLabelBrightness"; this.radLabelBrightness.Size = new Size(58, 18); this.radLabelBrightness.TabIndex = 0; this.radLabelBrightness.Text = "Brightness"; this.AutoScaleDimensions = new SizeF(6f, 13f); this.AutoScaleMode = AutoScaleMode.Font; this.ClientSize = new Size(292, 160); this.Controls.Add((Control)this.tableLayoutPanel1); this.FormBorderStyle = FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = nameof(ContrastDialog); this.RootElement.ApplyShapeToControl = true; this.ShowIcon = false; this.ShowInTaskbar = false; this.Text = "Contrast"; this.tableLayoutPanel1.ResumeLayout(false); this.tableLayoutPanel1.PerformLayout(); this.radLabelContrast.EndInit(); this.radTrackBarBrightness.EndInit(); this.radTrackBarContrast.EndInit(); this.radSpinEditorBrightness.EndInit(); this.radSpinEditorContrast.EndInit(); this.radButtonReset.EndInit(); this.radLabelBrightness.EndInit(); this.EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { this.tableLayoutPanel1 = new TableLayoutPanel(); this.radLabelText = new RadLabel(); this.radLabelFontSize = new RadLabel(); this.radLabelTextColor = new RadLabel(); this.radLabelHorizontalPosition = new RadLabel(); this.radLabelVerticalPosition = new RadLabel(); this.radLabelRotation = new RadLabel(); this.radSpinEditorFontSize = new RadSpinEditor(); this.radSpinEditorHorizontalPosition = new RadSpinEditor(); this.radSpinEditorVerticalPosition = new RadSpinEditor(); this.radSpinEditorRotation = new RadSpinEditor(); this.radColorBoxTextColor = new RadColorBox(); this.radButtonReset = new RadButton(); this.radTextBoxText = new RadTextBox(); this.radTrackBarFontSize = new RadTrackBar(); this.radTrackBarHorizontalPosition = new RadTrackBar(); this.radTrackBarVerticalPosition = new RadTrackBar(); this.radTrackBarRotation = new RadTrackBar(); this.tableLayoutPanel1.SuspendLayout(); this.radLabelText.BeginInit(); this.radLabelFontSize.BeginInit(); this.radLabelTextColor.BeginInit(); this.radLabelHorizontalPosition.BeginInit(); this.radLabelVerticalPosition.BeginInit(); this.radLabelRotation.BeginInit(); this.radSpinEditorFontSize.BeginInit(); this.radSpinEditorHorizontalPosition.BeginInit(); this.radSpinEditorVerticalPosition.BeginInit(); this.radSpinEditorRotation.BeginInit(); this.radColorBoxTextColor.BeginInit(); this.radButtonReset.BeginInit(); this.radTextBoxText.BeginInit(); this.radTrackBarFontSize.BeginInit(); this.radTrackBarHorizontalPosition.BeginInit(); this.radTrackBarVerticalPosition.BeginInit(); this.radTrackBarRotation.BeginInit(); this.BeginInit(); this.SuspendLayout(); this.tableLayoutPanel1.ColumnCount = 2; this.tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50f)); this.tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50f)); this.tableLayoutPanel1.Controls.Add((Control)this.radLabelText, 0, 0); this.tableLayoutPanel1.Controls.Add((Control)this.radLabelFontSize, 0, 2); this.tableLayoutPanel1.Controls.Add((Control)this.radLabelTextColor, 0, 4); this.tableLayoutPanel1.Controls.Add((Control)this.radLabelHorizontalPosition, 0, 5); this.tableLayoutPanel1.Controls.Add((Control)this.radLabelVerticalPosition, 0, 7); this.tableLayoutPanel1.Controls.Add((Control)this.radLabelRotation, 0, 9); this.tableLayoutPanel1.Controls.Add((Control)this.radSpinEditorFontSize, 1, 3); this.tableLayoutPanel1.Controls.Add((Control)this.radSpinEditorHorizontalPosition, 1, 6); this.tableLayoutPanel1.Controls.Add((Control)this.radSpinEditorVerticalPosition, 1, 8); this.tableLayoutPanel1.Controls.Add((Control)this.radSpinEditorRotation, 1, 10); this.tableLayoutPanel1.Controls.Add((Control)this.radColorBoxTextColor, 1, 4); this.tableLayoutPanel1.Controls.Add((Control)this.radButtonReset, 1, 11); this.tableLayoutPanel1.Controls.Add((Control)this.radTextBoxText, 0, 1); this.tableLayoutPanel1.Controls.Add((Control)this.radTrackBarFontSize, 0, 3); this.tableLayoutPanel1.Controls.Add((Control)this.radTrackBarHorizontalPosition, 0, 6); this.tableLayoutPanel1.Controls.Add((Control)this.radTrackBarVerticalPosition, 0, 8); this.tableLayoutPanel1.Controls.Add((Control)this.radTrackBarRotation, 0, 10); this.tableLayoutPanel1.Dock = DockStyle.Fill; this.tableLayoutPanel1.Location = new Point(0, 0); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 12; this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 8.333333f)); this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 8.333333f)); this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 8.333333f)); this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 8.333333f)); this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 8.333333f)); this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 8.333333f)); this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 8.333333f)); this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 8.333333f)); this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 8.333333f)); this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 8.333333f)); this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 8.333333f)); this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 8.333333f)); this.tableLayoutPanel1.Size = new Size(292, 456); this.tableLayoutPanel1.TabIndex = 0; this.radLabelText.Anchor = AnchorStyles.Bottom | AnchorStyles.Left; this.radLabelText.Location = new Point(3, 16); this.radLabelText.Name = "radLabelText"; this.radLabelText.Size = new Size(27, 18); this.radLabelText.TabIndex = 0; this.radLabelText.Text = "Text"; this.radLabelFontSize.Anchor = AnchorStyles.Bottom | AnchorStyles.Left; this.radLabelFontSize.Location = new Point(3, 90); this.radLabelFontSize.Name = "radLabelFontSize"; this.radLabelFontSize.Size = new Size(50, 18); this.radLabelFontSize.TabIndex = 0; this.radLabelFontSize.Text = "Font size"; this.radLabelTextColor.Anchor = AnchorStyles.Left; this.radLabelTextColor.Location = new Point(3, 157); this.radLabelTextColor.Name = "radLabelTextColor"; this.radLabelTextColor.Size = new Size(140, 18); this.radLabelTextColor.TabIndex = 0; this.radLabelTextColor.Text = "Text Color"; this.radLabelHorizontalPosition.Anchor = AnchorStyles.Bottom | AnchorStyles.Left; this.radLabelHorizontalPosition.Location = new Point(3, 201); this.radLabelHorizontalPosition.Name = "radLabelHorizontalPosition"; this.radLabelHorizontalPosition.Size = new Size(101, 18); this.radLabelHorizontalPosition.TabIndex = 0; this.radLabelHorizontalPosition.Text = "Horizontal Position"; this.radLabelVerticalPosition.Anchor = AnchorStyles.Bottom | AnchorStyles.Left; this.radLabelVerticalPosition.Location = new Point(3, 275); this.radLabelVerticalPosition.Name = "radLabelVerticalPosition"; this.radLabelVerticalPosition.Size = new Size(87, 18); this.radLabelVerticalPosition.TabIndex = 0; this.radLabelVerticalPosition.Text = "Vertical Position"; this.radLabelRotation.Anchor = AnchorStyles.Bottom | AnchorStyles.Left; this.radLabelRotation.Location = new Point(3, 349); this.radLabelRotation.Name = "radLabelRotation"; this.radLabelRotation.Size = new Size(49, 18); this.radLabelRotation.TabIndex = 0; this.radLabelRotation.Text = "Rotation"; this.radSpinEditorFontSize.Anchor = AnchorStyles.Left | AnchorStyles.Right; this.radSpinEditorFontSize.Location = new Point(149, 119); this.radSpinEditorFontSize.Margin = new Padding(3, 0, 3, 0); this.radSpinEditorFontSize.Minimum = new Decimal(new int[4] { 5, 0, 0, 0 }); this.radSpinEditorFontSize.Name = "radSpinEditorFontSize"; this.radSpinEditorFontSize.NullableValue = new Decimal?(new Decimal(new int[4] { 36, 0, 0, 0 })); this.radSpinEditorFontSize.Size = new Size(140, 20); this.radSpinEditorFontSize.TabIndex = 2; this.radSpinEditorFontSize.TabStop = false; this.radSpinEditorFontSize.Value = new Decimal(new int[4] { 36, 0, 0, 0 }); this.radSpinEditorHorizontalPosition.Anchor = AnchorStyles.Left | AnchorStyles.Right; this.radSpinEditorHorizontalPosition.Location = new Point(149, 230); this.radSpinEditorHorizontalPosition.Margin = new Padding(3, 0, 3, 0); this.radSpinEditorHorizontalPosition.Name = "radSpinEditorHorizontalPosition"; this.radSpinEditorHorizontalPosition.Size = new Size(140, 20); this.radSpinEditorHorizontalPosition.TabIndex = 2; this.radSpinEditorHorizontalPosition.TabStop = false; this.radSpinEditorVerticalPosition.Anchor = AnchorStyles.Left | AnchorStyles.Right; this.radSpinEditorVerticalPosition.Location = new Point(149, 304); this.radSpinEditorVerticalPosition.Margin = new Padding(3, 0, 3, 0); this.radSpinEditorVerticalPosition.Name = "radSpinEditorVerticalPosition"; this.radSpinEditorVerticalPosition.Size = new Size(140, 20); this.radSpinEditorVerticalPosition.TabIndex = 2; this.radSpinEditorVerticalPosition.TabStop = false; this.radSpinEditorRotation.Anchor = AnchorStyles.Left | AnchorStyles.Right; this.radSpinEditorRotation.Location = new Point(149, 378); this.radSpinEditorRotation.Margin = new Padding(3, 0, 3, 0); this.radSpinEditorRotation.Maximum = new Decimal(new int[4] { 360, 0, 0, 0 }); this.radSpinEditorRotation.Name = "radSpinEditorRotation"; this.radSpinEditorRotation.Size = new Size(140, 20); this.radSpinEditorRotation.TabIndex = 2; this.radSpinEditorRotation.TabStop = false; this.radColorBoxTextColor.Anchor = AnchorStyles.Left | AnchorStyles.Right; this.radColorBoxTextColor.Location = new Point(149, 156); this.radColorBoxTextColor.Margin = new Padding(3, 0, 3, 0); this.radColorBoxTextColor.Name = "radColorBoxTextColor"; this.radColorBoxTextColor.Size = new Size(140, 20); this.radColorBoxTextColor.TabIndex = 3; this.radColorBoxTextColor.Value = Color.Black; this.radButtonReset.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; this.radButtonReset.Location = new Point(179, 429); this.radButtonReset.Name = "radButtonReset"; this.radButtonReset.Size = new Size(110, 24); this.radButtonReset.TabIndex = 4; this.radButtonReset.Text = "Reset"; this.radTextBoxText.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; this.radTextBoxText.Location = new Point(3, 45); this.radTextBoxText.Margin = new Padding(3, 0, 3, 0); this.radTextBoxText.Name = "radTextBoxText"; this.radTextBoxText.NullText = "Your text here..."; this.radTextBoxText.Size = new Size(140, 20); this.radTextBoxText.TabIndex = 5; this.radTrackBarFontSize.BackColor = Color.Transparent; this.radTrackBarFontSize.Location = new Point(3, 111); this.radTrackBarFontSize.Margin = new Padding(3, 0, 3, 0); this.radTrackBarFontSize.Maximum = 100f; this.radTrackBarFontSize.Minimum = 5f; this.radTrackBarFontSize.Name = "radTrackBarFontSize"; this.radTrackBarFontSize.Size = new Size(140, 37); this.radTrackBarFontSize.SmallTickFrequency = 0; this.radTrackBarFontSize.TabIndex = 1; this.radTrackBarFontSize.Value = 36f; this.radTrackBarHorizontalPosition.BackColor = Color.Transparent; this.radTrackBarHorizontalPosition.Location = new Point(3, 222); this.radTrackBarHorizontalPosition.Margin = new Padding(3, 0, 3, 0); this.radTrackBarHorizontalPosition.Maximum = 100f; this.radTrackBarHorizontalPosition.Name = "radTrackBarHorizontalPosition"; this.radTrackBarHorizontalPosition.Size = new Size(140, 37); this.radTrackBarHorizontalPosition.SmallTickFrequency = 0; this.radTrackBarHorizontalPosition.TabIndex = 1; this.radTrackBarVerticalPosition.BackColor = Color.Transparent; this.radTrackBarVerticalPosition.Location = new Point(3, 296); this.radTrackBarVerticalPosition.Margin = new Padding(3, 0, 3, 0); this.radTrackBarVerticalPosition.Maximum = 100f; this.radTrackBarVerticalPosition.Name = "radTrackBarVerticalPosition"; this.radTrackBarVerticalPosition.Size = new Size(140, 37); this.radTrackBarVerticalPosition.SmallTickFrequency = 0; this.radTrackBarVerticalPosition.TabIndex = 1; this.radTrackBarRotation.BackColor = Color.Transparent; this.radTrackBarRotation.LargeTickFrequency = 20; this.radTrackBarRotation.Location = new Point(3, 370); this.radTrackBarRotation.Margin = new Padding(3, 0, 3, 0); this.radTrackBarRotation.Maximum = 360f; this.radTrackBarRotation.Name = "radTrackBarRotation"; this.radTrackBarRotation.Size = new Size(140, 37); this.radTrackBarRotation.SmallTickFrequency = 0; this.radTrackBarRotation.TabIndex = 1; this.AutoScaleDimensions = new SizeF(6f, 13f); this.AutoScaleMode = AutoScaleMode.Font; this.ClientSize = new Size(292, 456); this.Controls.Add((Control)this.tableLayoutPanel1); this.FormBorderStyle = FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = nameof(DrawTextDialog); this.RootElement.ApplyShapeToControl = true; this.ShowIcon = false; this.ShowInTaskbar = false; this.Text = nameof(DrawTextDialog); this.tableLayoutPanel1.ResumeLayout(false); this.tableLayoutPanel1.PerformLayout(); this.radLabelText.EndInit(); this.radLabelFontSize.EndInit(); this.radLabelTextColor.EndInit(); this.radLabelHorizontalPosition.EndInit(); this.radLabelVerticalPosition.EndInit(); this.radLabelRotation.EndInit(); this.radSpinEditorFontSize.EndInit(); this.radSpinEditorHorizontalPosition.EndInit(); this.radSpinEditorVerticalPosition.EndInit(); this.radSpinEditorRotation.EndInit(); this.radColorBoxTextColor.EndInit(); this.radButtonReset.EndInit(); this.radTextBoxText.EndInit(); this.radTrackBarFontSize.EndInit(); this.radTrackBarHorizontalPosition.EndInit(); this.radTrackBarVerticalPosition.EndInit(); this.radTrackBarRotation.EndInit(); this.EndInit(); this.ResumeLayout(false); }