picturebox or any other tool
-
hey guys..i have to add 19 icons to my form..but i dont know which tool i should use?..19 picturebox i should add to my form or one another tool can i use ?
-
hey guys..i have to add 19 icons to my form..but i dont know which tool i should use?..19 picturebox i should add to my form or one another tool can i use ?
Draw them yourself in the Paint event:
private void MyForm\_Paint(object sender, PaintEventArgs e) { e.Graphics.DrawImage(myIcon, myIconLocation); ... }
For details see http://msdn.microsoft.com/en-us/library/42807xh1.aspx[^]
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
-
Draw them yourself in the Paint event:
private void MyForm\_Paint(object sender, PaintEventArgs e) { e.Graphics.DrawImage(myIcon, myIconLocation); ... }
For details see http://msdn.microsoft.com/en-us/library/42807xh1.aspx[^]
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
thanks for the help..should i add them to resources File of my project..to use them when i make its exe ?
-
thanks for the help..should i add them to resources File of my project..to use them when i make its exe ?
erdinc27 wrote:
should i add them to resources File of my project
If they are fixed when you compile, then yes, it reduces the amount of stuff you need to ensure is there when your app runs.. If not, then keep them as files and load them when your form loads, or when they change.
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
-
erdinc27 wrote:
should i add them to resources File of my project
If they are fixed when you compile, then yes, it reduces the amount of stuff you need to ensure is there when your app runs.. If not, then keep them as files and load them when your form loads, or when they change.
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
ok friend..thanks for your help and time
-
ok friend..thanks for your help and time
Welcome!
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.