Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
 private void InitializeComponent()
 {
     this.tableLayoutPanel1           = new TableLayoutPanel();
     this.radLabelCanvasSize          = new RadLabel();
     this.radLabelWidth               = new RadLabel();
     this.radLabelHeight              = new RadLabel();
     this.radLabelImageAlignment      = new RadLabel();
     this.radLabelBackground          = new RadLabel();
     this.radButtonReset              = new RadButton();
     this.radColorBoxBackground       = new RadColorBox();
     this.radSpinEditorWidth          = new RadSpinEditor();
     this.radSpinEditorHeight         = new RadSpinEditor();
     this.tableLayoutPanel2           = new TableLayoutPanel();
     this.radToggleButtonTopLeft      = new RadToggleButton();
     this.radToggleButtonTopCenter    = new RadToggleButton();
     this.radToggleButtonTopRight     = new RadToggleButton();
     this.radToggleButtonMiddleRight  = new RadToggleButton();
     this.radToggleButtonMiddleCenter = new RadToggleButton();
     this.radToggleButtonMiddleLeft   = new RadToggleButton();
     this.radToggleButtonBottomLeft   = new RadToggleButton();
     this.radToggleButtonBottomCenter = new RadToggleButton();
     this.radToggleButtonBottomRight  = new RadToggleButton();
     this.tableLayoutPanel1.SuspendLayout();
     this.radLabelCanvasSize.BeginInit();
     this.radLabelWidth.BeginInit();
     this.radLabelHeight.BeginInit();
     this.radLabelImageAlignment.BeginInit();
     this.radLabelBackground.BeginInit();
     this.radButtonReset.BeginInit();
     this.radColorBoxBackground.BeginInit();
     this.radSpinEditorWidth.BeginInit();
     this.radSpinEditorHeight.BeginInit();
     this.tableLayoutPanel2.SuspendLayout();
     this.radToggleButtonTopLeft.BeginInit();
     this.radToggleButtonTopCenter.BeginInit();
     this.radToggleButtonTopRight.BeginInit();
     this.radToggleButtonMiddleRight.BeginInit();
     this.radToggleButtonMiddleCenter.BeginInit();
     this.radToggleButtonMiddleLeft.BeginInit();
     this.radToggleButtonBottomLeft.BeginInit();
     this.radToggleButtonBottomCenter.BeginInit();
     this.radToggleButtonBottomRight.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.radLabelCanvasSize, 0, 0);
     this.tableLayoutPanel1.Controls.Add((Control)this.radLabelWidth, 0, 1);
     this.tableLayoutPanel1.Controls.Add((Control)this.radLabelHeight, 1, 1);
     this.tableLayoutPanel1.Controls.Add((Control)this.radLabelImageAlignment, 0, 3);
     this.tableLayoutPanel1.Controls.Add((Control)this.radLabelBackground, 0, 5);
     this.tableLayoutPanel1.Controls.Add((Control)this.radButtonReset, 1, 6);
     this.tableLayoutPanel1.Controls.Add((Control)this.radColorBoxBackground, 1, 5);
     this.tableLayoutPanel1.Controls.Add((Control)this.radSpinEditorWidth, 0, 2);
     this.tableLayoutPanel1.Controls.Add((Control)this.radSpinEditorHeight, 1, 2);
     this.tableLayoutPanel1.Controls.Add((Control)this.tableLayoutPanel2, 0, 4);
     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, 10.07148f));
     this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 10.07148f));
     this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 10.07148f));
     this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 10.07148f));
     this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 39.57114f));
     this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 10.07148f));
     this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 10.07148f));
     this.tableLayoutPanel1.Size          = new Size(292, 368);
     this.tableLayoutPanel1.TabIndex      = 0;
     this.radLabelCanvasSize.Anchor       = AnchorStyles.Bottom | AnchorStyles.Left;
     this.radLabelCanvasSize.Location     = new Point(3, 16);
     this.radLabelCanvasSize.Name         = "radLabelCanvasSize";
     this.radLabelCanvasSize.Size         = new Size(67, 18);
     this.radLabelCanvasSize.TabIndex     = 0;
     this.radLabelCanvasSize.Text         = "Canvas Size:";
     this.radLabelWidth.Anchor            = AnchorStyles.Bottom | AnchorStyles.Left;
     this.radLabelWidth.Location          = new Point(3, 53);
     this.radLabelWidth.Name              = "radLabelWidth";
     this.radLabelWidth.Size              = new Size(39, 18);
     this.radLabelWidth.TabIndex          = 0;
     this.radLabelWidth.Text              = "Width:";
     this.radLabelHeight.Anchor           = AnchorStyles.Bottom | AnchorStyles.Left;
     this.radLabelHeight.Location         = new Point(149, 53);
     this.radLabelHeight.Name             = "radLabelHeight";
     this.radLabelHeight.Size             = new Size(42, 18);
     this.radLabelHeight.TabIndex         = 0;
     this.radLabelHeight.Text             = "Height:";
     this.radLabelImageAlignment.Anchor   = AnchorStyles.Bottom | AnchorStyles.Left;
     this.radLabelImageAlignment.Location = new Point(3, (int)sbyte.MaxValue);
     this.radLabelImageAlignment.Name     = "radLabelImageAlignment";
     this.radLabelImageAlignment.Size     = new Size(92, 18);
     this.radLabelImageAlignment.TabIndex = 0;
     this.radLabelImageAlignment.Text     = "Image Alignment";
     this.radLabelBackground.Anchor       = AnchorStyles.Left;
     this.radLabelBackground.Location     = new Point(3, 302);
     this.radLabelBackground.Name         = "radLabelBackground";
     this.radLabelBackground.Size         = new Size(68, 18);
     this.radLabelBackground.TabIndex     = 0;
     this.radLabelBackground.Text         = "Background:";
     this.radButtonReset.Anchor           = AnchorStyles.Bottom | AnchorStyles.Right;
     this.radButtonReset.Location         = new Point(179, 341);
     this.radButtonReset.Name             = "radButtonReset";
     this.radButtonReset.Size             = new Size(110, 24);
     this.radButtonReset.TabIndex         = 1;
     this.radButtonReset.Text             = "Reset";
     this.radColorBoxBackground.Anchor    = AnchorStyles.Left | AnchorStyles.Right;
     this.radColorBoxBackground.Location  = new Point(149, 301);
     this.radColorBoxBackground.Margin    = new Padding(3, 0, 3, 0);
     this.radColorBoxBackground.Name      = "radColorBoxBackground";
     this.radColorBoxBackground.Size      = new Size(140, 20);
     this.radColorBoxBackground.TabIndex  = 2;
     this.radColorBoxBackground.Value     = Color.Black;
     this.radSpinEditorWidth.Anchor       = AnchorStyles.Left | AnchorStyles.Right;
     this.radSpinEditorWidth.Location     = new Point(3, 82);
     this.radSpinEditorWidth.Margin       = new Padding(3, 0, 3, 0);
     this.radSpinEditorWidth.Maximum      = new Decimal(new int[4]
     {
         (int)short.MaxValue,
         0,
         0,
         0
     });
     this.radSpinEditorWidth.Minimum = new Decimal(new int[4]
     {
         1,
         0,
         0,
         0
     });
     this.radSpinEditorWidth.Name          = "radSpinEditorWidth";
     this.radSpinEditorWidth.NullableValue = new Decimal?(new Decimal(new int[4]
     {
         1,
         0,
         0,
         0
     }));
     this.radSpinEditorWidth.Size     = new Size(140, 20);
     this.radSpinEditorWidth.TabIndex = 3;
     this.radSpinEditorWidth.TabStop  = false;
     this.radSpinEditorWidth.Value    = new Decimal(new int[4]
     {
         1,
         0,
         0,
         0
     });
     this.radSpinEditorHeight.Anchor   = AnchorStyles.Left | AnchorStyles.Right;
     this.radSpinEditorHeight.Location = new Point(149, 82);
     this.radSpinEditorHeight.Margin   = new Padding(3, 0, 3, 0);
     this.radSpinEditorHeight.Maximum  = new Decimal(new int[4]
     {
         (int)short.MaxValue,
         0,
         0,
         0
     });
     this.radSpinEditorHeight.Minimum = new Decimal(new int[4]
     {
         1,
         0,
         0,
         0
     });
     this.radSpinEditorHeight.Name          = "radSpinEditorHeight";
     this.radSpinEditorHeight.NullableValue = new Decimal?(new Decimal(new int[4]
     {
         1,
         0,
         0,
         0
     }));
     this.radSpinEditorHeight.Size     = new Size(140, 20);
     this.radSpinEditorHeight.TabIndex = 3;
     this.radSpinEditorHeight.TabStop  = false;
     this.radSpinEditorHeight.Value    = new Decimal(new int[4]
     {
         1,
         0,
         0,
         0
     });
     this.tableLayoutPanel2.Anchor      = AnchorStyles.None;
     this.tableLayoutPanel2.ColumnCount = 3;
     this.tableLayoutPanel1.SetColumnSpan((Control)this.tableLayoutPanel2, 2);
     this.tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33.33333f));
     this.tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33.33333f));
     this.tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33.33333f));
     this.tableLayoutPanel2.Controls.Add((Control)this.radToggleButtonTopLeft, 0, 0);
     this.tableLayoutPanel2.Controls.Add((Control)this.radToggleButtonTopCenter, 1, 0);
     this.tableLayoutPanel2.Controls.Add((Control)this.radToggleButtonTopRight, 2, 0);
     this.tableLayoutPanel2.Controls.Add((Control)this.radToggleButtonMiddleRight, 2, 1);
     this.tableLayoutPanel2.Controls.Add((Control)this.radToggleButtonMiddleCenter, 1, 1);
     this.tableLayoutPanel2.Controls.Add((Control)this.radToggleButtonMiddleLeft, 0, 1);
     this.tableLayoutPanel2.Controls.Add((Control)this.radToggleButtonBottomLeft, 0, 2);
     this.tableLayoutPanel2.Controls.Add((Control)this.radToggleButtonBottomCenter, 1, 2);
     this.tableLayoutPanel2.Controls.Add((Control)this.radToggleButtonBottomRight, 2, 2);
     this.tableLayoutPanel2.Location = new Point(81, 155);
     this.tableLayoutPanel2.Name     = "tableLayoutPanel2";
     this.tableLayoutPanel2.RowCount = 3;
     this.tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Percent, 33.33333f));
     this.tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Percent, 33.33333f));
     this.tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Percent, 33.33333f));
     this.tableLayoutPanel2.Size                  = new Size(130, 130);
     this.tableLayoutPanel2.TabIndex              = 4;
     this.radToggleButtonTopLeft.Anchor           = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
     this.radToggleButtonTopLeft.Location         = new Point(3, 3);
     this.radToggleButtonTopLeft.Name             = "radToggleButtonTopLeft";
     this.radToggleButtonTopLeft.Size             = new Size(37, 37);
     this.radToggleButtonTopLeft.TabIndex         = 0;
     this.radToggleButtonTopCenter.Anchor         = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
     this.radToggleButtonTopCenter.Location       = new Point(46, 3);
     this.radToggleButtonTopCenter.Name           = "radToggleButtonTopCenter";
     this.radToggleButtonTopCenter.Size           = new Size(37, 37);
     this.radToggleButtonTopCenter.TabIndex       = 0;
     this.radToggleButtonTopRight.Anchor          = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
     this.radToggleButtonTopRight.Location        = new Point(89, 3);
     this.radToggleButtonTopRight.Name            = "radToggleButtonTopRight";
     this.radToggleButtonTopRight.Size            = new Size(38, 37);
     this.radToggleButtonTopRight.TabIndex        = 0;
     this.radToggleButtonMiddleRight.Anchor       = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
     this.radToggleButtonMiddleRight.Location     = new Point(89, 46);
     this.radToggleButtonMiddleRight.Name         = "radToggleButtonMiddleRight";
     this.radToggleButtonMiddleRight.Size         = new Size(38, 37);
     this.radToggleButtonMiddleRight.TabIndex     = 0;
     this.radToggleButtonMiddleCenter.Anchor      = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
     this.radToggleButtonMiddleCenter.CheckState  = CheckState.Checked;
     this.radToggleButtonMiddleCenter.Location    = new Point(46, 46);
     this.radToggleButtonMiddleCenter.Name        = "radToggleButtonMiddleCenter";
     this.radToggleButtonMiddleCenter.Size        = new Size(37, 37);
     this.radToggleButtonMiddleCenter.TabIndex    = 0;
     this.radToggleButtonMiddleCenter.ToggleState = Telerik.WinControls.Enumerations.ToggleState.On;
     this.radToggleButtonMiddleLeft.Anchor        = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
     this.radToggleButtonMiddleLeft.Location      = new Point(3, 46);
     this.radToggleButtonMiddleLeft.Name          = "radToggleButtonMiddleLeft";
     this.radToggleButtonMiddleLeft.Size          = new Size(37, 37);
     this.radToggleButtonMiddleLeft.TabIndex      = 0;
     this.radToggleButtonBottomLeft.Anchor        = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
     this.radToggleButtonBottomLeft.Location      = new Point(3, 89);
     this.radToggleButtonBottomLeft.Name          = "radToggleButtonBottomLeft";
     this.radToggleButtonBottomLeft.Size          = new Size(37, 38);
     this.radToggleButtonBottomLeft.TabIndex      = 0;
     this.radToggleButtonBottomCenter.Anchor      = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
     this.radToggleButtonBottomCenter.Location    = new Point(46, 89);
     this.radToggleButtonBottomCenter.Name        = "radToggleButtonBottomCenter";
     this.radToggleButtonBottomCenter.Size        = new Size(37, 38);
     this.radToggleButtonBottomCenter.TabIndex    = 0;
     this.radToggleButtonBottomRight.Anchor       = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
     this.radToggleButtonBottomRight.Location     = new Point(89, 89);
     this.radToggleButtonBottomRight.Name         = "radToggleButtonBottomRight";
     this.radToggleButtonBottomRight.Size         = new Size(38, 38);
     this.radToggleButtonBottomRight.TabIndex     = 0;
     this.AutoScaleDimensions = new SizeF(6f, 13f);
     this.AutoScaleMode       = AutoScaleMode.Font;
     this.ClientSize          = new Size(292, 368);
     this.Controls.Add((Control)this.tableLayoutPanel1);
     this.FormBorderStyle = FormBorderStyle.FixedToolWindow;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = nameof(ResizeCanvasDialog);
     this.RootElement.ApplyShapeToControl = true;
     this.ShowIcon      = false;
     this.ShowInTaskbar = false;
     this.Text          = nameof(ResizeCanvasDialog);
     this.tableLayoutPanel1.ResumeLayout(false);
     this.tableLayoutPanel1.PerformLayout();
     this.radLabelCanvasSize.EndInit();
     this.radLabelWidth.EndInit();
     this.radLabelHeight.EndInit();
     this.radLabelImageAlignment.EndInit();
     this.radLabelBackground.EndInit();
     this.radButtonReset.EndInit();
     this.radColorBoxBackground.EndInit();
     this.radSpinEditorWidth.EndInit();
     this.radSpinEditorHeight.EndInit();
     this.tableLayoutPanel2.ResumeLayout(false);
     this.radToggleButtonTopLeft.EndInit();
     this.radToggleButtonTopCenter.EndInit();
     this.radToggleButtonTopRight.EndInit();
     this.radToggleButtonMiddleRight.EndInit();
     this.radToggleButtonMiddleCenter.EndInit();
     this.radToggleButtonMiddleLeft.EndInit();
     this.radToggleButtonBottomLeft.EndInit();
     this.radToggleButtonBottomCenter.EndInit();
     this.radToggleButtonBottomRight.EndInit();
     this.EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 3
0
 private void InitializeComponent()
 {
     this.tableLayoutPanel1  = new TableLayoutPanel();
     this.radLabelBrushSize  = new RadLabel();
     this.radSpinEditorSize  = new RadSpinEditor();
     this.radColorBoxColor   = new RadColorBox();
     this.radLabelBrushColor = new RadLabel();
     this.tableLayoutPanel1.SuspendLayout();
     this.radLabelBrushSize.BeginInit();
     this.radSpinEditorSize.BeginInit();
     this.radColorBoxColor.BeginInit();
     this.radLabelBrushColor.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.radLabelBrushSize, 0, 0);
     this.tableLayoutPanel1.Controls.Add((Control)this.radSpinEditorSize, 1, 0);
     this.tableLayoutPanel1.Controls.Add((Control)this.radColorBoxColor, 1, 1);
     this.tableLayoutPanel1.Controls.Add((Control)this.radLabelBrushColor, 0, 1);
     this.tableLayoutPanel1.Dock     = DockStyle.Fill;
     this.tableLayoutPanel1.Location = new Point(0, 0);
     this.tableLayoutPanel1.Name     = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 2;
     this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 50f));
     this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 50f));
     this.tableLayoutPanel1.Size     = new Size(292, 76);
     this.tableLayoutPanel1.TabIndex = 0;
     this.radLabelBrushSize.Anchor   = AnchorStyles.Left;
     this.radLabelBrushSize.Location = new Point(3, 10);
     this.radLabelBrushSize.Name     = "radLabelBrushSize";
     this.radLabelBrushSize.Size     = new Size(57, 18);
     this.radLabelBrushSize.TabIndex = 0;
     this.radLabelBrushSize.Text     = "Brush Size";
     this.radSpinEditorSize.Anchor   = AnchorStyles.Left | AnchorStyles.Right;
     this.radSpinEditorSize.Location = new Point(149, 9);
     this.radSpinEditorSize.Margin   = new Padding(3, 0, 3, 0);
     this.radSpinEditorSize.Maximum  = new Decimal(new int[4]
     {
         1000,
         0,
         0,
         0
     });
     this.radSpinEditorSize.Minimum = new Decimal(new int[4]
     {
         1,
         0,
         0,
         0
     });
     this.radSpinEditorSize.Name          = "radSpinEditorSize";
     this.radSpinEditorSize.NullableValue = new Decimal?(new Decimal(new int[4]
     {
         1,
         0,
         0,
         0
     }));
     this.radSpinEditorSize.Size     = new Size(140, 20);
     this.radSpinEditorSize.TabIndex = 1;
     this.radSpinEditorSize.TabStop  = false;
     this.radSpinEditorSize.Value    = new Decimal(new int[4]
     {
         1,
         0,
         0,
         0
     });
     this.radColorBoxColor.Anchor     = AnchorStyles.Left | AnchorStyles.Right;
     this.radColorBoxColor.Location   = new Point(149, 47);
     this.radColorBoxColor.Margin     = new Padding(3, 0, 3, 0);
     this.radColorBoxColor.Name       = "radColorBoxColor";
     this.radColorBoxColor.Size       = new Size(140, 20);
     this.radColorBoxColor.TabIndex   = 2;
     this.radColorBoxColor.Value      = Color.Black;
     this.radLabelBrushColor.Anchor   = AnchorStyles.Left;
     this.radLabelBrushColor.Location = new Point(3, 48);
     this.radLabelBrushColor.Name     = "radLabelBrushColor";
     this.radLabelBrushColor.Size     = new Size(64, 18);
     this.radLabelBrushColor.TabIndex = 0;
     this.radLabelBrushColor.Text     = "Brush Color";
     this.AutoScaleDimensions         = new SizeF(6f, 13f);
     this.AutoScaleMode = AutoScaleMode.Font;
     this.ClientSize    = new Size(292, 56);
     this.Controls.Add((Control)this.tableLayoutPanel1);
     this.FormBorderStyle = FormBorderStyle.FixedToolWindow;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = nameof(DrawDialog);
     this.RootElement.ApplyShapeToControl = true;
     this.ShowIcon      = false;
     this.ShowInTaskbar = false;
     this.Text          = "Draw";
     this.tableLayoutPanel1.ResumeLayout(false);
     this.tableLayoutPanel1.PerformLayout();
     this.radLabelBrushSize.EndInit();
     this.radSpinEditorSize.EndInit();
     this.radColorBoxColor.EndInit();
     this.radLabelBrushColor.EndInit();
     this.EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 4
0
 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);
 }
Ejemplo n.º 5
0
 private void InitializeComponent()
 {
     this.tableLayoutPanel1            = new TableLayoutPanel();
     this.radLabelShape                = new RadLabel();
     this.radLabelBorderThickness      = new RadLabel();
     this.radLabelBorderColor          = new RadLabel();
     this.radColorBoxFill              = new RadColorBox();
     this.radColorBoxBorder            = new RadColorBox();
     this.radSpinEditorBorderThickness = new RadSpinEditor();
     this.radDropDownListShape         = new RadDropDownList();
     this.radLabelShapeFill            = new RadLabel();
     this.tableLayoutPanel1.SuspendLayout();
     this.radLabelShape.BeginInit();
     this.radLabelBorderThickness.BeginInit();
     this.radLabelBorderColor.BeginInit();
     this.radColorBoxFill.BeginInit();
     this.radColorBoxBorder.BeginInit();
     this.radSpinEditorBorderThickness.BeginInit();
     this.radDropDownListShape.BeginInit();
     this.radLabelShapeFill.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.radLabelShape, 0, 0);
     this.tableLayoutPanel1.Controls.Add((Control)this.radLabelBorderThickness, 0, 2);
     this.tableLayoutPanel1.Controls.Add((Control)this.radColorBoxFill, 1, 1);
     this.tableLayoutPanel1.Controls.Add((Control)this.radColorBoxBorder, 1, 3);
     this.tableLayoutPanel1.Controls.Add((Control)this.radSpinEditorBorderThickness, 1, 2);
     this.tableLayoutPanel1.Controls.Add((Control)this.radDropDownListShape, 1, 0);
     this.tableLayoutPanel1.Controls.Add((Control)this.radLabelShapeFill, 0, 1);
     this.tableLayoutPanel1.Controls.Add((Control)this.radLabelBorderColor, 0, 3);
     this.tableLayoutPanel1.Dock     = DockStyle.Fill;
     this.tableLayoutPanel1.Location = new Point(0, 0);
     this.tableLayoutPanel1.Name     = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 4;
     this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 25f));
     this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 25f));
     this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 25f));
     this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 25f));
     this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 20f));
     this.tableLayoutPanel1.Size                = new Size(292, 152);
     this.tableLayoutPanel1.TabIndex            = 0;
     this.radLabelShape.Anchor                  = AnchorStyles.Left;
     this.radLabelShape.Location                = new Point(3, 10);
     this.radLabelShape.Name                    = "radLabelShape";
     this.radLabelShape.Size                    = new Size(37, 18);
     this.radLabelShape.TabIndex                = 0;
     this.radLabelShape.Text                    = "Shape";
     this.radLabelBorderThickness.Anchor        = AnchorStyles.Left;
     this.radLabelBorderThickness.Location      = new Point(3, 86);
     this.radLabelBorderThickness.Name          = "radLabelBorderThickness";
     this.radLabelBorderThickness.Size          = new Size(91, 18);
     this.radLabelBorderThickness.TabIndex      = 0;
     this.radLabelBorderThickness.Text          = "Border Thickness";
     this.radLabelBorderColor.Anchor            = AnchorStyles.Left;
     this.radLabelBorderColor.Location          = new Point(3, 124);
     this.radLabelBorderColor.Name              = "radLabelBorderColor";
     this.radLabelBorderColor.Size              = new Size(70, 18);
     this.radLabelBorderColor.TabIndex          = 0;
     this.radLabelBorderColor.Text              = "Border Color";
     this.radColorBoxFill.Anchor                = AnchorStyles.Left | AnchorStyles.Right;
     this.radColorBoxFill.Location              = new Point(149, 47);
     this.radColorBoxFill.Margin                = new Padding(3, 0, 3, 0);
     this.radColorBoxFill.Name                  = "radColorBoxFill";
     this.radColorBoxFill.Size                  = new Size(140, 20);
     this.radColorBoxFill.TabIndex              = 3;
     this.radColorBoxFill.Value                 = Color.Transparent;
     this.radColorBoxBorder.Anchor              = AnchorStyles.Left | AnchorStyles.Right;
     this.radColorBoxBorder.Location            = new Point(149, 123);
     this.radColorBoxBorder.Margin              = new Padding(3, 0, 3, 0);
     this.radColorBoxBorder.Name                = "radColorBoxBorder";
     this.radColorBoxBorder.Size                = new Size(140, 20);
     this.radColorBoxBorder.TabIndex            = 3;
     this.radColorBoxBorder.Value               = Color.Black;
     this.radSpinEditorBorderThickness.Anchor   = AnchorStyles.Left | AnchorStyles.Right;
     this.radSpinEditorBorderThickness.Location = new Point(149, 85);
     this.radSpinEditorBorderThickness.Margin   = new Padding(3, 0, 3, 0);
     this.radSpinEditorBorderThickness.Maximum  = new Decimal(new int[4]
     {
         1000,
         0,
         0,
         0
     });
     this.radSpinEditorBorderThickness.Minimum = new Decimal(new int[4]
     {
         1,
         0,
         0,
         0
     });
     this.radSpinEditorBorderThickness.Name          = "radSpinEditorBorderThickness";
     this.radSpinEditorBorderThickness.NullableValue = new Decimal?(new Decimal(new int[4]
     {
         1,
         0,
         0,
         0
     }));
     this.radSpinEditorBorderThickness.Size     = new Size(140, 20);
     this.radSpinEditorBorderThickness.TabIndex = 4;
     this.radSpinEditorBorderThickness.TabStop  = false;
     this.radSpinEditorBorderThickness.Value    = new Decimal(new int[4]
     {
         1,
         0,
         0,
         0
     });
     this.radDropDownListShape.Anchor        = AnchorStyles.Left | AnchorStyles.Right;
     this.radDropDownListShape.DropDownStyle = RadDropDownStyle.DropDownList;
     this.radDropDownListShape.Location      = new Point(149, 9);
     this.radDropDownListShape.Margin        = new Padding(3, 0, 3, 0);
     this.radDropDownListShape.Name          = "radDropDownListShape";
     this.radDropDownListShape.Size          = new Size(140, 20);
     this.radDropDownListShape.TabIndex      = 5;
     this.radDropDownListShape.Text          = "radDropDownList1";
     this.radLabelShapeFill.Anchor           = AnchorStyles.Left;
     this.radLabelShapeFill.Location         = new Point(3, 48);
     this.radLabelShapeFill.Name             = "radLabelShapeFill";
     this.radLabelShapeFill.Size             = new Size(54, 18);
     this.radLabelShapeFill.TabIndex         = 0;
     this.radLabelShapeFill.Text             = "Shape Fill";
     this.AutoScaleDimensions = new SizeF(6f, 13f);
     this.AutoScaleMode       = AutoScaleMode.Font;
     this.ClientSize          = new Size(292, 132);
     this.Controls.Add((Control)this.tableLayoutPanel1);
     this.FormBorderStyle = FormBorderStyle.FixedToolWindow;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = nameof(DrawShapeDialog);
     this.RootElement.ApplyShapeToControl = true;
     this.ShowIcon      = false;
     this.ShowInTaskbar = false;
     this.Text          = nameof(DrawShapeDialog);
     this.tableLayoutPanel1.ResumeLayout(false);
     this.tableLayoutPanel1.PerformLayout();
     this.radLabelShape.EndInit();
     this.radLabelBorderThickness.EndInit();
     this.radLabelBorderColor.EndInit();
     this.radColorBoxFill.EndInit();
     this.radColorBoxBorder.EndInit();
     this.radSpinEditorBorderThickness.EndInit();
     this.radDropDownListShape.EndInit();
     this.radLabelShapeFill.EndInit();
     this.EndInit();
     this.ResumeLayout(false);
 }