1 write to trackBar1
WinFormsControlsTest (1)
TrackBars.Designer.cs (1)
34
this.
trackBar1
= new System.Windows.Forms.TrackBar();
36 references to trackBar1
WinFormsControlsTest (36)
TrackBars.cs (25)
13
trackBar1
.Minimum = -100;
14
trackBar1
.Maximum = 100;
15
numericMinimum.Value =
trackBar1
.Minimum;
16
numericMaximum.Value =
trackBar1
.Maximum;
17
numericFrequency.Value =
trackBar1
.TickFrequency;
25
if (
trackBar1
.Orientation == Orientation.Horizontal)
27
lblTrackBarSize.Text = $"Trackbar width: {
trackBar1
.Width}";
31
lblTrackBarSize.Text = $"Trackbar height: {
trackBar1
.Height}";
37
lblTrackBarValue.Text = $"Value {
trackBar1
.Value}";
42
trackBar1
.Orientation = Orientation.Horizontal;
43
trackBar1
.Width = ClientRectangle.Width -
trackBar1
.Left * 2;
44
trackBar1
.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
49
trackBar1
.Orientation = Orientation.Vertical;
50
trackBar1
.Height = ClientRectangle.Height -
trackBar1
.Top * 2;
51
trackBar1
.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Bottom;
56
trackBar1
.RightToLeft = chbRightToLeft.Checked ? RightToLeft.Yes : RightToLeft.No;
61
if (
trackBar1
.TickStyle == TickStyle.BottomRight)
63
trackBar1
.TickStyle = TickStyle.None;
67
trackBar1
.TickStyle = TickStyle.BottomRight;
73
trackBar1
.Minimum = (int)Math.Max(numericMinimum.Value, int.MinValue);
86
trackBar1
.Maximum = (int)Math.Min(numericMaximum.Value, int.MaxValue);
99
trackBar1
.TickFrequency = (int)numericFrequency.Value;
109
trackBar1
.RightToLeftLayout = chbRightToLeftLayout.Checked;
TrackBars.Designer.cs (11)
49
((System.ComponentModel.ISupportInitialize)(this.
trackBar1
)).BeginInit();
58
this.
trackBar1
.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
60
this.
trackBar1
.Location = new System.Drawing.Point(10, 30);
61
this.
trackBar1
.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
62
this.
trackBar1
.Name = "trackBar1";
63
this.
trackBar1
.Size = new System.Drawing.Size(457, 45);
64
this.
trackBar1
.TabIndex = 0;
65
this.
trackBar1
.Scroll += this.trackBar1_Scroll;
66
this.
trackBar1
.SizeChanged += this.trackBar1_SizeChanged;
261
this.Controls.Add(this.
trackBar1
);
266
((System.ComponentModel.ISupportInitialize)(this.
trackBar1
)).EndInit();