git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1066 993157c7-ee19-0410-b2c4-bb4e9862e678
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user