MapView.TilePanel.TilePanel C# (CSharp) Method

TilePanel() public method

public TilePanel ( TileType type ) : System
type TileType
return System
		public TilePanel(TileType type)
		{
			this.type=type;
			vert = new VScrollBar();
			vert.ValueChanged+=new EventHandler(valChange);
			vert.Location = new Point(Width-vert.Width,0);
			this.Controls.Add(vert);
			MapViewPanel.ImageUpdate+=new EventHandler(tick);
			SetStyle(ControlStyles.AllPaintingInWmPaint|ControlStyles.DoubleBuffer|ControlStyles.UserPaint,true);			
			selectedNum=0;

			Globals.LoadExtras();
		}