public ScrollableControl() { SetStyle(ControlStyles.ContainerControl, true); SetStyle(ControlStyles.AllPaintingInWmPaint, false); auto_scroll = false; force_hscroll_visible = false; force_vscroll_visible = false; auto_scroll_margin = new Size(0, 0); auto_scroll_min_size = new Size(0, 0); scroll_position = new Point(0, 0); dock_padding = new DockPaddingEdges(this); SizeChanged += new EventHandler(Recalculate); VisibleChanged += new EventHandler(VisibleChangedHandler); LocationChanged += new EventHandler(LocationChangedHandler); ParentChanged += new EventHandler(ParentChangedHandler); HandleCreated += new EventHandler(AddScrollbars); CreateScrollbars(); #if NET_2_0 horizontalScroll = new HScrollProperties(this); verticalScroll = new VScrollProperties(this); #endif }
public ScrollableControl() { SetStyle(ControlStyles.ContainerControl, true); SetStyle(ControlStyles.AllPaintingInWmPaint, false); auto_scroll = false; force_hscroll_visible = false; force_vscroll_visible = false; auto_scroll_margin = new Size(0, 0); auto_scroll_min_size = new Size(0, 0); scroll_position = new Point(0, 0); SizeChanged +=new EventHandler(Recalculate); VisibleChanged += new EventHandler (VisibleChangedHandler); LocationChanged += new EventHandler (LocationChangedHandler); ParentChanged += new EventHandler (ParentChangedHandler); HandleCreated += new EventHandler (AddScrollbars); CreateScrollbars (); horizontalScroll = new HScrollProperties (this); verticalScroll = new VScrollProperties (this); }
public ScrollableControl() { _horizontalScroll = new HScrollProperties(this); _verticalScroll = new VScrollProperties(this); }
/// <summary> /// ctor /// </summary> public ScrollableView() { _hscroll = new HScrollProperties(this); _vscroll = new VScrollProperties(this); }
// ScrollableControl.get_VerticalScroll public __ScrollableControl() { this.HorizontalScroll = (HScrollProperties)(object)new __HScrollProperties(); this.VerticalScroll = (VScrollProperties)(object)new __VScrollProperties(); }
public ScrollableControl() { _horizontalScroll = new HScrollProperties(this); _verticalScroll = new VScrollProperties(this); }