Click here to Skip to main content
15,890,370 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm trying to display image in Full Screen,but the code is not working properly.
String imagepath=@"C:\\image1";
  pictureBox1.BorderStyle= BorderStyle.None;
  pictureBox1.Dock=DockSytle.None;
  PictureBox1.Width= this.Width;
  pictureBox1.Height= this.Height;
   pictureBox1.Left= screen.primarySreen.Bounds.width - this .Width;
 pictureBox1.Top= screen.primarySreen.Bounds.Height - this.Height;
  windowstate = FormWindowState.None;
 pictureBox1.Load(imagepath);
Posted

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900