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

ListBox() public method

public ListBox ( ) : System
return System
		public ListBox () : base()
		{
			items = CreateItemCollection ();
			item_height = -1;
			selected_indices = new SelectedIndexCollection (this);
			selected_items = new SelectedObjectCollection (this);

			requested_height = bounds.Height;
			InternalBorderStyle = BorderStyle.Fixed3D;
			//BackColor = ThemeEngine.Current.ColorWindow;

			/* Vertical scrollbar */
			//TODO: add scroll event handler

			/* Horizontal scrollbar */
			//TODO: add scroll event handler

			/* Events */
			
			SetStyle (ControlStyles.UserPaint, false);

#if NET_2_0
			custom_tab_offsets = new IntegerCollection (this);
#endif
		}
		protected override void CreateHandle ()