Show Menu
Cheatography

Visual C# 2008 - Basic knowledge Cheat Sheet (DRAFT) by

Visual C# 2008 - Basic knowledge

This is a draft cheat sheet. It is a work in progress and is not finished yet.

.NET Framework 3.5

Applic­ation Execution

MSIL : Microsoft Interm­ediate Language

Project Folder, File

 

Interface oriented

Charac­ter­istic : Points that can show charac­ter­istics.

Messaging oriented

Charac­­te­r­istic : "­Obj­ect­s" send "­mes­sag­es".
When the "­obj­ect­" receives the "­mes­sag­e", it decodes the content and operates.

Prototype oriented

Charac­ter­istic : Think of all objects as a "­var­iable structure made up of genera­l-p­urpose variab­les."

Object­-or­ien­tation

Object
Stuff
Class
Blueprint
Property
Attribute
Method
Motion
Event
Events subject to notifi­cation
Instance
Object created from Class

Static Member & Instance Member

Static Member
No need to instan­tiate.
Instance Member
Need to instan­tiate.
Keyword : New
 

Class oriented

Charac­ter­istic : Three elements are required.
Elements : Inheri­tance, Polymo­rphism, Encaps­ulation

­Inh­e­ri­­tance

Polymo­­rphism

Encaps­­ul­ation

Event Handler

Form
Load
Button
Click
TextBOX
TextCh­anged
CheckBOX
Checkd­Changed
RadioB­utton
Checkd­Changed
ListBOX
Select­edI­nde­xCh­anged
ComboBOX
Select­edI­nde­xCh­anged

Event Handler - Add

Open Proper­tyW­indow 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.