To get a deeper understanding and use of C #, we will begin this series of technical lectures on the "C # Discovery Tour". Given that most of you are in the Web database development, and the so-called discovery is found that we are unfamiliar with the field, so this series of lectures will be C # in the Web database development outside the application. The main content of the current planning is graphic development and XML development, and plans to organize a number of courses. In the next C # Discovery Tour, we follow the step-by-step steps to explore and discover the other unknown areas of C #, a deeper understanding and mastery of the use of C # for software development, broaden our horizons, enhance our comprehensive software development capabilities.
This article supporting the source code, which is the ellipsebuttonlib.zip of this course is the demo.
Course description
After the last Windows graphics development Fundamentals of the course, you have some perceptual knowledge of Windows graphics development, but may not know much about this, there are some confusion, in this course, we will use C # from scratch to develop a relatively simple oval button graphics software, Start exploring C # graphic development with everyone.
Functional Requirements
In this rapid software development, the first is to determine the software functional requirements.
Existing a customer, need a software, its functional requirements are as follows
Implement an oval button. You can center a single line of text.
When the mouse leaves the button and enters this button, the button border and background color need to change.
The mouse click button triggers a click event.
The final user interface for the generated software is shown in the figure