Lines Matching refs:hScrollBar

128         private HScrollBar hScrollBar;  field in System.Workflow.ComponentModel.Design.WorkflowView
344 ScrollBar hScrollBar = HScrollBar;
347 if (hScrollBar != null && vScrollBar != null)
351 …oldRelativeCenter = new PointF((float)oldCenter.X / (float)hScrollBar.Maximum, (float)oldCenter.Y …
358 …Point newCenter = new Point((int)((float)hScrollBar.Maximum * oldRelativeCenter.X), (int)((float)v…
463 ScrollBar hScrollBar = HScrollBar;
464 if (hScrollBar != null)
466 value.X = Math.Min(value.X, hScrollBar.Maximum - hScrollBar.LargeChange + 1);
467 value.X = Math.Max(value.X, hScrollBar.Minimum);
468 hScrollBar.Value = value.X;
569 return this.hScrollBar;
644 … EnsureScrollBars(this.hScrollBar, this.toolContainer.ScrollBar as VScrollBar);
671 EnsureScrollBars(this.hScrollBar, new VScrollBar());
1269 ScrollBar hScrollBar = HScrollBar; in OnLayout()
1272 if (Controls.Contains(hScrollBar)) in OnLayout()
1273hScrollBar.Bounds = new Rectangle(0, Math.Max(0, Height - SystemInformation.HorizontalScrollBarHei… in OnLayout()
1276 …dth), 0, SystemInformation.VerticalScrollBarWidth, Math.Max(Height - ((hScrollBar.Visible) ? Syste… in OnLayout()
1281 this.toolContainer.Height = Height - ((hScrollBar.Visible) ? hScrollBar.Height : 0); in OnLayout()
1800 if (hScrollBar.Maximum != maximumScrollSize.Width) in UpdateScrollRange()
1801 hScrollBar.Maximum = maximumScrollSize.Width; in UpdateScrollRange()
1805 if (hScrollBar.LargeChange != largeChangeSize.Width) in UpdateScrollRange()
1807 hScrollBar.SmallChange = largeChangeSize.Width / 15; in UpdateScrollRange()
1808 hScrollBar.LargeChange = largeChangeSize.Width + 1; in UpdateScrollRange()
1816 int xMaxScrollPos = maximumScrollSize.Width - hScrollBar.LargeChange; in UpdateScrollRange()
1818 if (hScrollBar.Value > xMaxScrollPos) in UpdateScrollRange()
1819 hScrollBar.Value = xMaxScrollPos; in UpdateScrollRange()
1828 bool hScrollBarVisible = hScrollBar.Visible; in UpdateScrollRange()
1829 if (Controls.Contains(hScrollBar)) in UpdateScrollRange()
1830 hScrollBar.Visible = (hScrollBar.Maximum > currentSize.Width); in UpdateScrollRange()
1836 if (hScrollBarVisible != hScrollBar.Visible || vScrollBar.Visible != vScrollBarVisible) in UpdateScrollRange()
1925 if (this.hScrollBar != newHorizScrollBar) in EnsureScrollBars()
1927 if (this.hScrollBar != null) in EnsureScrollBars()
1929 this.hScrollBar.ValueChanged -= new EventHandler(OnScroll); in EnsureScrollBars()
1930 if (Controls.Contains(this.hScrollBar)) in EnsureScrollBars()
1931 Controls.Remove(this.hScrollBar); in EnsureScrollBars()
1934 this.hScrollBar = newHorizScrollBar; in EnsureScrollBars()
1935 if (this.hScrollBar.Parent == null) in EnsureScrollBars()
1937 this.hScrollBar.TabStop = false; in EnsureScrollBars()
1938 Controls.Add(this.hScrollBar); in EnsureScrollBars()
1959 this.hScrollBar.ValueChanged += new EventHandler(OnScroll); in EnsureScrollBars()