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