public TotalViewPck()
{
tileChooser = new ComboBox();
scroll = new VScrollBar();
status = new Label();
showBytes = new CheckBox();
tileChooser.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
tileChooser.Size = new System.Drawing.Size(121, 21);
tileChooser.SelectedIndexChanged += new System.EventHandler(this.tileChooser_SelectedIndexChanged);
tileChooser.MaxDropDownItems=20;
this.status.Anchor = ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right);
this.status.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.status.Location = new System.Drawing.Point(0, 250);
this.status.Size = new System.Drawing.Size(293, 23);
this.showBytes.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right);
this.showBytes.Location = new System.Drawing.Point(120, 0);
this.showBytes.Size = new System.Drawing.Size(100, 21);
this.showBytes.Text = "Show Bytes";
this.showBytes.CheckedChanged += new System.EventHandler(this.showBytes_CheckedChanged);
scroll.Dock = System.Windows.Forms.DockStyle.Right;
scroll.Location = new System.Drawing.Point(294, 0);
scroll.Size = new System.Drawing.Size(18, 273);
scroll.Scroll += new System.Windows.Forms.ScrollEventHandler(this.scroll_Scroll);
this.Controls.AddRange(new System.Windows.Forms.Control[] {
showBytes,
status,
scroll,
tileChooser});
//this.images = images;
view = new ViewPck();
view.Location = new Point(0,tileChooser.Height);
view.MouseThing+=new MouseStuff(viewClicked);
scroll.Minimum = -tileChooser.Height;
this.Controls.Add(view);
OnResize(null);
}