Graphics ?
-
Evening all ! I'm working on my first ever uni assignment in c# and would like to smarten up the application a bit. Can anyone point me in the direction of a good site/tutorial etc for implemnting some graphics ? I have a few main form, some panels etc - do i just assign pictures to them the same way as i have done for a picture box ? Also, is there any way of changing a panel so it's not just a square/rectangle shape ? Many thanks Neil
-
Evening all ! I'm working on my first ever uni assignment in c# and would like to smarten up the application a bit. Can anyone point me in the direction of a good site/tutorial etc for implemnting some graphics ? I have a few main form, some panels etc - do i just assign pictures to them the same way as i have done for a picture box ? Also, is there any way of changing a panel so it's not just a square/rectangle shape ? Many thanks Neil
What do you mean by 'implimenting some graphics' ? If you have bitmaps you can skin buttons with them or draw them on your form if you're just looking to improve the way it looks. To draw a picture on the background of a form, handle it's OnPaint event, this is passed a graphics object and you can draw your bitmap to that. You can search the web for ways to make forms an irregular shape, there's almost certainly example projects here on Code Project.
Christian Graus Driven to the arms of OSX by Vista.
-
What do you mean by 'implimenting some graphics' ? If you have bitmaps you can skin buttons with them or draw them on your form if you're just looking to improve the way it looks. To draw a picture on the background of a form, handle it's OnPaint event, this is passed a graphics object and you can draw your bitmap to that. You can search the web for ways to make forms an irregular shape, there's almost certainly example projects here on Code Project.
Christian Graus Driven to the arms of OSX by Vista.