I am using Microsoft Visual studio windows forms, and i want to know that can I add buttons or get pictures
I am making my project in which I need help that, first I want to know that how I can manage between the files that is the header one, main and winform application, where do I have to add my oop code. Sec开发者_StackOverflow社区ondly in my project I need to change the display image of my buttons at run time according to information I am providing to it, (if I say int n=1, then it should display the first picture but if I say n=2 it should display the second image). Note that I have found how to add multiple images, but changing it at the run time is not solving by me. I would be highly grateful for the answers.
Thanks in Advance.
You are asking a number of questions. You need to make sure you know C#, there are lots of book recommendations etc you will find on SO. Then learn about windows forms development.
I would recommend getting Programming Windows Forms by Charles Petzold.. A few things about the language may have changes but the windows forms framework hasn't changed much since 2005. You could also get Visual C# 2010 Step by Step for a more beginners overview on all features/options in .NET 4.
Here are some links:
MSDN : Getting Started with Windows Forms
See this walkthrough for creating a simple calculator application
There are some slightly advanced videos here you can watch later:
http://windowsclient.net/learn/videos.aspx
Hope it helps.
精彩评论