git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1066 993157c7-ee19-0410-b2c4-bb4e9862e678

This commit is contained in:
chrisf
2007-06-23 18:42:56 +00:00
parent df767490a3
commit cb26bbc491
5 changed files with 381 additions and 10 deletions

View File

@@ -34,18 +34,16 @@ namespace ShpViewer
}
InitializeComponent();
}
protected override void OnPaint( PaintEventArgs e )
{
base.OnPaint( e );
int y = 10;
foreach( Bitmap b in bitmaps )
foreach (Bitmap b in bitmaps)
{
e.Graphics.DrawImage( b, 10, y );
y += 10 + b.Height;
PictureBox p = new PictureBox();
p.Image = b;
p.Size = b.Size;
flowLayoutPanel1.Controls.Add(p);
}
Focus();
}
}
}