Cheatography
https://cheatography.com
Visual C# 2008 - Basic knowledge
This is a draft cheat sheet. It is a work in progress and is not finished yet.
Application Execution
MSIL : Microsoft Intermediate Language
|
|
Interface oriented
Characteristic : Points that can show characteristics. |
Messaging oriented
Characteristic : "Objects" send "messages". |
When the "object" receives the "message", it decodes the content and operates. |
Prototype oriented
Characteristic : Think of all objects as a "variable structure made up of general-purpose variables." |
Object-orientation
Object |
Stuff |
Class |
Blueprint |
Property |
Attribute |
Method |
Motion |
Event |
Events subject to notification |
Instance |
Object created from Class |
Static Member & Instance Member
Static Member |
No need to instantiate. |
Instance Member |
Need to instantiate. |
|
|
Class oriented
Characteristic : Three elements are required. |
Elements : Inheritance, Polymorphism, Encapsulation |
Event Handler
Form |
Load |
Button |
Click |
TextBOX |
TextChanged |
CheckBOX |
CheckdChanged |
RadioButton |
CheckdChanged |
ListBOX |
SelectedIndexChanged |
ComboBOX |
SelectedIndexChanged |
Event Handler - Add
Open PropertyWindow and perform the following steps. |
1. Select the target object in the ObjectBOX. |
2. Turn on the Event Button. |
3. Double-click the Event name. |
Event Handler - Delete
1. Right-click the event name in the Property Window. |
2. Select [Reset] from the shortcut menu. |
|