System.Windows.Forms.ScrollableControl.ScrollableControl C# (CSharp) Method

ScrollableControl() public method

public ScrollableControl ( ) : System.Drawing
return System.Drawing
		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 ();
		}