By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,510 Members | 1,821 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,510 IT Pros & Developers. It's quick & easy.

Display Bitmap at desired location

P: 5
form_load () { Call bitmap_func() }

bitmap_func()
{

Image mybitmap = new Bitmap("c:\\abc.bmp");
Graphics g1 = Graphics.FromImage(mybitmap);
g1.DrawImageUnscaled(mybitmap, 400, 400);
this.CreateGraphics().DrawImage(mybitmap, new Point(0, 0));
}


this code is nolt displaying any image at all.. why ???
Apr 23 '07 #1
Share this Question
Share on Google+
1 Reply


P: 5
Also please tell how can i display image @ desired location

using C# 2005
Apr 23 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.