public AngleChooserPropertyControl(PropertyControlInfo propInfo) : base(propInfo) { DoubleProperty doubleProp = (DoubleProperty)propInfo.Property; if (!((doubleProp.MinValue == -180 && doubleProp.MaxValue == +180) || (doubleProp.MinValue == 0 && doubleProp.MaxValue == 360))) { throw new ArgumentException("Only two min/max ranges are allowed for the AngleChooser control type: [-180, +180] and [0, 360]"); } this.header = new HeaderLabel(); this.header.Name = "header"; this.header.RightMargin = 0; this.header.Text = this.DisplayName; this.angleChooser = new AngleChooserControl(); this.angleChooser.Name = "angleChooser"; this.angleChooser.ValueChanged += new EventHandler(AngleChooser_ValueChanged); this.valueNud = new NumericUpDown(); this.valueNud.Name = "numericUpDown"; this.valueNud.Minimum = (decimal)Property.MinValue; this.valueNud.Maximum = (decimal)Property.MaxValue; this.valueNud.DecimalPlaces = 2; this.valueNud.ValueChanged += new EventHandler(ValueNud_ValueChanged); this.valueNud.TextAlign = HorizontalAlignment.Right; this.resetButton = new Button(); this.resetButton.Name = "resetButton"; this.resetButton.FlatStyle = FlatStyle.Standard; this.resetButton.Click += new EventHandler(ResetButton_Click); this.resetButton.Image = PdnResources.GetImageResource("Icons.ResetIcon.png").Reference; this.resetButton.Visible = (bool)propInfo.ControlProperties[ControlInfoPropertyNames.ShowResetButton].Value; this.ToolTip.SetToolTip(this.resetButton, PdnResources.GetString("Form.ResetButton.Text").Replace("&", "")); this.description = new Label(); this.description.Name = "descriptionText"; this.description.AutoSize = false; this.description.Text = this.Description; SuspendLayout(); this.Controls.AddRange( new Control[] { this.header, this.angleChooser, this.valueNud, this.resetButton, this.description }); ResumeLayout(false); PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.angleChooserControl = new PaintDotNet.AngleChooserControl(); this.angleUpDown = new System.Windows.Forms.NumericUpDown(); this.distanceTrackBar = new System.Windows.Forms.TrackBar(); this.distanceUpDown = new System.Windows.Forms.NumericUpDown(); this.pixelsLabel = new System.Windows.Forms.Label(); this.cancelButton = new System.Windows.Forms.Button(); this.okButton = new System.Windows.Forms.Button(); this.centeredCheckBox = new System.Windows.Forms.CheckBox(); this.distanceHeader = new PaintDotNet.HeaderLabel(); this.angleHeader = new PaintDotNet.HeaderLabel(); this.degreeLabel = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.angleUpDown)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.distanceTrackBar)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.distanceUpDown)).BeginInit(); this.SuspendLayout(); // // angleChooserControl // this.angleChooserControl.Location = new System.Drawing.Point(16, 26); this.angleChooserControl.Name = "angleChooserControl"; this.angleChooserControl.Size = new System.Drawing.Size(56, 56); this.angleChooserControl.TabIndex = 0; this.angleChooserControl.TabStop = false; this.angleChooserControl.Value = 16; this.angleChooserControl.ValueDouble = 16; this.angleChooserControl.ValueChanged += new System.EventHandler(this.angleChooserControl_ValueChanged); // // angleUpDown // this.angleUpDown.DecimalPlaces = 2; this.angleUpDown.Location = new System.Drawing.Point(80, 32); this.angleUpDown.Maximum = new System.Decimal(new int[] { 180, 0, 0, 0}); this.angleUpDown.Minimum = new System.Decimal(new int[] { 180, 0, 0, -2147483648}); this.angleUpDown.Name = "angleUpDown"; this.angleUpDown.Size = new System.Drawing.Size(72, 20); this.angleUpDown.TabIndex = 0; this.angleUpDown.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.angleUpDown.Enter += new System.EventHandler(this.angleUpDown_Enter); this.angleUpDown.ValueChanged += new System.EventHandler(this.angleUpDown_ValueChanged); this.angleUpDown.Leave += new System.EventHandler(this.angleUpDown_Leave); // // distanceTrackBar // this.distanceTrackBar.AutoSize = false; this.distanceTrackBar.Location = new System.Drawing.Point(174, 59); this.distanceTrackBar.Maximum = 200; this.distanceTrackBar.Minimum = 1; this.distanceTrackBar.Name = "distanceTrackBar"; this.distanceTrackBar.Size = new System.Drawing.Size(161, 24); this.distanceTrackBar.TabIndex = 2; this.distanceTrackBar.TickStyle = System.Windows.Forms.TickStyle.None; this.distanceTrackBar.Value = 1; this.distanceTrackBar.ValueChanged += new System.EventHandler(this.distanceTrackBar_ValueChanged); // // distanceUpDown // this.distanceUpDown.Location = new System.Drawing.Point(184, 32); this.distanceUpDown.Maximum = new System.Decimal(new int[] { 200, 0, 0, 0}); this.distanceUpDown.Minimum = new System.Decimal(new int[] { 1, 0, 0, 0}); this.distanceUpDown.Name = "distanceUpDown"; this.distanceUpDown.Size = new System.Drawing.Size(72, 20); this.distanceUpDown.TabIndex = 1; this.distanceUpDown.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.distanceUpDown.Value = new System.Decimal(new int[] { 1, 0, 0, 0}); this.distanceUpDown.Enter += new System.EventHandler(this.angleUpDown_Enter); this.distanceUpDown.ValueChanged += new System.EventHandler(this.distanceUpDown_ValueChanged); this.distanceUpDown.Leave += new System.EventHandler(this.distanceUpDown_Leave); // // pixelsLabel // this.pixelsLabel.Location = new System.Drawing.Point(258, 33); this.pixelsLabel.Name = "pixelsLabel"; this.pixelsLabel.Size = new System.Drawing.Size(62, 16); this.pixelsLabel.TabIndex = 7; this.pixelsLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // cancelButton // this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.System; this.cancelButton.Location = new System.Drawing.Point(254, 97); this.cancelButton.Name = "cancelButton"; this.cancelButton.TabIndex = 5; this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click); // // okButton // this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.okButton.FlatStyle = System.Windows.Forms.FlatStyle.System; this.okButton.Location = new System.Drawing.Point(173, 97); this.okButton.Name = "okButton"; this.okButton.TabIndex = 4; this.okButton.Click += new System.EventHandler(this.okButton_Click); // // centeredCheckBox // this.centeredCheckBox.Checked = true; this.centeredCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; this.centeredCheckBox.FlatStyle = System.Windows.Forms.FlatStyle.System; this.centeredCheckBox.Location = new System.Drawing.Point(10, 86); this.centeredCheckBox.Name = "centeredCheckBox"; this.centeredCheckBox.Size = new System.Drawing.Size(150, 24); this.centeredCheckBox.TabIndex = 3; this.centeredCheckBox.CheckedChanged += new System.EventHandler(this.centeredCheckBox_CheckedChanged); // // distanceHeader // this.distanceHeader.Location = new System.Drawing.Point(176, 8); this.distanceHeader.Name = "distanceHeader"; this.distanceHeader.Size = new System.Drawing.Size(159, 14); this.distanceHeader.TabIndex = 13; this.distanceHeader.TabStop = false; this.distanceHeader.Text = "headerLabel1 "; // // angleHeader // this.angleHeader.Location = new System.Drawing.Point(6, 8); this.angleHeader.Name = "angleHeader"; this.angleHeader.RightMargin = 0; this.angleHeader.Size = new System.Drawing.Size(161, 14); this.angleHeader.TabIndex = 14; this.angleHeader.TabStop = false; this.angleHeader.Text = "headerLabel1 "; // // degreeLabel // this.degreeLabel.Location = new System.Drawing.Point(152, 32); this.degreeLabel.Name = "degreeLabel"; this.degreeLabel.Size = new System.Drawing.Size(16, 23); this.degreeLabel.TabIndex = 15; // // MotionBlurEffectConfigDialog // this.AcceptButton = this.okButton; this.AutoScaleDimensions = new SizeF(96F, 96F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.CancelButton = this.cancelButton; this.ClientSize = new System.Drawing.Size(335, 126); this.Controls.Add(this.degreeLabel); this.Controls.Add(this.angleHeader); this.Controls.Add(this.distanceHeader); this.Controls.Add(this.okButton); this.Controls.Add(this.centeredCheckBox); this.Controls.Add(this.cancelButton); this.Controls.Add(this.distanceTrackBar); this.Controls.Add(this.distanceUpDown); this.Controls.Add(this.pixelsLabel); this.Controls.Add(this.angleChooserControl); this.Controls.Add(this.angleUpDown); this.Location = new System.Drawing.Point(0, 0); this.Name = "MotionBlurEffectConfigDialog"; this.Enter += new System.EventHandler(this.angleUpDown_Enter); this.Controls.SetChildIndex(this.angleUpDown, 0); this.Controls.SetChildIndex(this.angleChooserControl, 0); this.Controls.SetChildIndex(this.pixelsLabel, 0); this.Controls.SetChildIndex(this.distanceUpDown, 0); this.Controls.SetChildIndex(this.distanceTrackBar, 0); this.Controls.SetChildIndex(this.cancelButton, 0); this.Controls.SetChildIndex(this.centeredCheckBox, 0); this.Controls.SetChildIndex(this.okButton, 0); this.Controls.SetChildIndex(this.distanceHeader, 0); this.Controls.SetChildIndex(this.angleHeader, 0); this.Controls.SetChildIndex(this.degreeLabel, 0); ((System.ComponentModel.ISupportInitialize)(this.angleUpDown)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.distanceTrackBar)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.distanceUpDown)).EndInit(); 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.angleChooserControl = new PaintDotNet.AngleChooserControl(); this.angleUpDown = new System.Windows.Forms.NumericUpDown(); this.distanceTrackBar = new System.Windows.Forms.TrackBar(); this.distanceUpDown = new System.Windows.Forms.NumericUpDown(); this.pixelsLabel = new System.Windows.Forms.Label(); this.cancelButton = new System.Windows.Forms.Button(); this.okButton = new System.Windows.Forms.Button(); this.centeredCheckBox = new System.Windows.Forms.CheckBox(); this.distanceHeader = new PaintDotNet.HeaderLabel(); this.angleHeader = new PaintDotNet.HeaderLabel(); this.degreeLabel = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.angleUpDown)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.distanceTrackBar)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.distanceUpDown)).BeginInit(); this.SuspendLayout(); // // angleChooserControl // this.angleChooserControl.Location = new System.Drawing.Point(16, 26); this.angleChooserControl.Name = "angleChooserControl"; this.angleChooserControl.Size = new System.Drawing.Size(56, 56); this.angleChooserControl.TabIndex = 0; this.angleChooserControl.TabStop = false; this.angleChooserControl.Value = 16; this.angleChooserControl.ValueDouble = 16; this.angleChooserControl.ValueChanged += new System.EventHandler(this.angleChooserControl_ValueChanged); // // angleUpDown // this.angleUpDown.DecimalPlaces = 2; this.angleUpDown.Location = new System.Drawing.Point(80, 32); this.angleUpDown.Maximum = new System.Decimal(new int[] { 180, 0, 0, 0 }); this.angleUpDown.Minimum = new System.Decimal(new int[] { 180, 0, 0, -2147483648 }); this.angleUpDown.Name = "angleUpDown"; this.angleUpDown.Size = new System.Drawing.Size(72, 20); this.angleUpDown.TabIndex = 0; this.angleUpDown.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.angleUpDown.Enter += new System.EventHandler(this.angleUpDown_Enter); this.angleUpDown.ValueChanged += new System.EventHandler(this.angleUpDown_ValueChanged); this.angleUpDown.Leave += new System.EventHandler(this.angleUpDown_Leave); // // distanceTrackBar // this.distanceTrackBar.AutoSize = false; this.distanceTrackBar.Location = new System.Drawing.Point(174, 59); this.distanceTrackBar.Maximum = 200; this.distanceTrackBar.Minimum = 1; this.distanceTrackBar.Name = "distanceTrackBar"; this.distanceTrackBar.Size = new System.Drawing.Size(161, 24); this.distanceTrackBar.TabIndex = 2; this.distanceTrackBar.TickStyle = System.Windows.Forms.TickStyle.None; this.distanceTrackBar.Value = 1; this.distanceTrackBar.ValueChanged += new System.EventHandler(this.distanceTrackBar_ValueChanged); // // distanceUpDown // this.distanceUpDown.Location = new System.Drawing.Point(184, 32); this.distanceUpDown.Maximum = new System.Decimal(new int[] { 200, 0, 0, 0 }); this.distanceUpDown.Minimum = new System.Decimal(new int[] { 1, 0, 0, 0 }); this.distanceUpDown.Name = "distanceUpDown"; this.distanceUpDown.Size = new System.Drawing.Size(72, 20); this.distanceUpDown.TabIndex = 1; this.distanceUpDown.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.distanceUpDown.Value = new System.Decimal(new int[] { 1, 0, 0, 0 }); this.distanceUpDown.Enter += new System.EventHandler(this.angleUpDown_Enter); this.distanceUpDown.ValueChanged += new System.EventHandler(this.distanceUpDown_ValueChanged); this.distanceUpDown.Leave += new System.EventHandler(this.distanceUpDown_Leave); // // pixelsLabel // this.pixelsLabel.Location = new System.Drawing.Point(258, 33); this.pixelsLabel.Name = "pixelsLabel"; this.pixelsLabel.Size = new System.Drawing.Size(62, 16); this.pixelsLabel.TabIndex = 7; this.pixelsLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // cancelButton // this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.System; this.cancelButton.Location = new System.Drawing.Point(254, 97); this.cancelButton.Name = "cancelButton"; this.cancelButton.TabIndex = 5; this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click); // // okButton // this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.okButton.FlatStyle = System.Windows.Forms.FlatStyle.System; this.okButton.Location = new System.Drawing.Point(173, 97); this.okButton.Name = "okButton"; this.okButton.TabIndex = 4; this.okButton.Click += new System.EventHandler(this.okButton_Click); // // centeredCheckBox // this.centeredCheckBox.Checked = true; this.centeredCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; this.centeredCheckBox.FlatStyle = System.Windows.Forms.FlatStyle.System; this.centeredCheckBox.Location = new System.Drawing.Point(10, 86); this.centeredCheckBox.Name = "centeredCheckBox"; this.centeredCheckBox.Size = new System.Drawing.Size(150, 24); this.centeredCheckBox.TabIndex = 3; this.centeredCheckBox.CheckedChanged += new System.EventHandler(this.centeredCheckBox_CheckedChanged); // // distanceHeader // this.distanceHeader.Location = new System.Drawing.Point(176, 8); this.distanceHeader.Name = "distanceHeader"; this.distanceHeader.Size = new System.Drawing.Size(159, 14); this.distanceHeader.TabIndex = 13; this.distanceHeader.TabStop = false; this.distanceHeader.Text = "headerLabel1 "; // // angleHeader // this.angleHeader.Location = new System.Drawing.Point(6, 8); this.angleHeader.Name = "angleHeader"; this.angleHeader.RightMargin = 0; this.angleHeader.Size = new System.Drawing.Size(161, 14); this.angleHeader.TabIndex = 14; this.angleHeader.TabStop = false; this.angleHeader.Text = "headerLabel1 "; // // degreeLabel // this.degreeLabel.Location = new System.Drawing.Point(152, 32); this.degreeLabel.Name = "degreeLabel"; this.degreeLabel.Size = new System.Drawing.Size(16, 23); this.degreeLabel.TabIndex = 15; // // MotionBlurEffectConfigDialog // this.AcceptButton = this.okButton; this.AutoScaleDimensions = new SizeF(96F, 96F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.CancelButton = this.cancelButton; this.ClientSize = new System.Drawing.Size(335, 126); this.Controls.Add(this.degreeLabel); this.Controls.Add(this.angleHeader); this.Controls.Add(this.distanceHeader); this.Controls.Add(this.okButton); this.Controls.Add(this.centeredCheckBox); this.Controls.Add(this.cancelButton); this.Controls.Add(this.distanceTrackBar); this.Controls.Add(this.distanceUpDown); this.Controls.Add(this.pixelsLabel); this.Controls.Add(this.angleChooserControl); this.Controls.Add(this.angleUpDown); this.Location = new System.Drawing.Point(0, 0); this.Name = "MotionBlurEffectConfigDialog"; this.Enter += new System.EventHandler(this.angleUpDown_Enter); this.Controls.SetChildIndex(this.angleUpDown, 0); this.Controls.SetChildIndex(this.angleChooserControl, 0); this.Controls.SetChildIndex(this.pixelsLabel, 0); this.Controls.SetChildIndex(this.distanceUpDown, 0); this.Controls.SetChildIndex(this.distanceTrackBar, 0); this.Controls.SetChildIndex(this.cancelButton, 0); this.Controls.SetChildIndex(this.centeredCheckBox, 0); this.Controls.SetChildIndex(this.okButton, 0); this.Controls.SetChildIndex(this.distanceHeader, 0); this.Controls.SetChildIndex(this.angleHeader, 0); this.Controls.SetChildIndex(this.degreeLabel, 0); ((System.ComponentModel.ISupportInitialize)(this.angleUpDown)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.distanceTrackBar)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.distanceUpDown)).EndInit(); 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.okButton = new System.Windows.Forms.Button(); this.angleUpDown = new System.Windows.Forms.NumericUpDown(); this.degreeLabel = new System.Windows.Forms.Label(); this.angleChooserControl = new PaintDotNet.AngleChooserControl(); this.cancelButton = new System.Windows.Forms.Button(); this.angleHeader = new PaintDotNet.HeaderLabel(); ((System.ComponentModel.ISupportInitialize)(this.angleUpDown)).BeginInit(); this.SuspendLayout(); // // okButton // this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.okButton.Location = new System.Drawing.Point(24, 94); this.okButton.Name = "okButton"; this.okButton.Size = new System.Drawing.Size(75, 24); this.okButton.TabIndex = 0; this.okButton.Click += new System.EventHandler(this.okButton_Click); // // angleUpDown // this.angleUpDown.DecimalPlaces = 2; this.angleUpDown.Location = new System.Drawing.Point(88, 37); this.angleUpDown.Maximum = new System.Decimal(new int[] { 180, 0, 0, 0 }); this.angleUpDown.Minimum = new System.Decimal(new int[] { 180, 0, 0, -2147483648 }); this.angleUpDown.Name = "angleUpDown"; this.angleUpDown.Size = new System.Drawing.Size(72, 20); this.angleUpDown.TabIndex = 0; this.angleUpDown.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.angleUpDown.Enter += new System.EventHandler(this.angleUpDown_Enter); this.angleUpDown.ValueChanged += new System.EventHandler(this.angleUpDown_ValueChanged); this.angleUpDown.Leave += new System.EventHandler(this.angleUpDown_Leave); // // degreeLabel // this.degreeLabel.Location = new System.Drawing.Point(161, 37); this.degreeLabel.Name = "degreeLabel"; this.degreeLabel.Size = new System.Drawing.Size(16, 23); this.degreeLabel.TabIndex = 15; // // angleChooserControl // this.angleChooserControl.Location = new System.Drawing.Point(16, 29); this.angleChooserControl.Name = "angleChooserControl"; this.angleChooserControl.Size = new System.Drawing.Size(56, 56); this.angleChooserControl.TabIndex = 0; this.angleChooserControl.TabStop = false; this.angleChooserControl.Value = 16; this.angleChooserControl.ValueDouble = 16; this.angleChooserControl.ValueChanged += new System.EventHandler(this.angleChooserControl_ValueChanged); // // cancelButton // this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelButton.Location = new System.Drawing.Point(105, 94); this.cancelButton.Name = "cancelButton"; this.cancelButton.Size = new System.Drawing.Size(75, 24); this.cancelButton.TabIndex = 13; this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click); // // angleHeader // this.angleHeader.Location = new System.Drawing.Point(8, 8); this.angleHeader.Name = "angleHeader"; this.angleHeader.Size = new System.Drawing.Size(176, 14); this.angleHeader.TabIndex = 14; this.angleHeader.TabStop = false; this.angleHeader.Text = "Header"; // // AngleChooserConfigDialog // this.AcceptButton = this.okButton; this.AutoScaleDimensions = new SizeF(96F, 96F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.CancelButton = this.cancelButton; this.ClientSize = new System.Drawing.Size(186, 124); this.Controls.Add(this.angleHeader); this.Controls.Add(this.cancelButton); this.Controls.Add(this.okButton); this.Controls.Add(this.degreeLabel); this.Controls.Add(this.angleChooserControl); this.Controls.Add(this.angleUpDown); this.Location = new System.Drawing.Point(0, 0); this.Name = "AngleChooserConfigDialog"; this.Controls.SetChildIndex(this.angleUpDown, 0); this.Controls.SetChildIndex(this.angleChooserControl, 0); this.Controls.SetChildIndex(this.degreeLabel, 0); this.Controls.SetChildIndex(this.okButton, 0); this.Controls.SetChildIndex(this.cancelButton, 0); this.Controls.SetChildIndex(this.angleHeader, 0); ((System.ComponentModel.ISupportInitialize)(this.angleUpDown)).EndInit(); this.ResumeLayout(false); }