How controls are created and events fired on a Windows Form?

 Posted by Ddd on 2/18/2011 | Category: Others Interview questions | Views: 3812 | Points: 40

It is possible using the InitializeComponent method mentioned in the
Constructor of the class of the Windows Form. If this method is removed, no control would be visible on the screen and no events would be fired.

For the events to fire, appropriate event-delegate relationship is also mandatory. This relationship is auto-generated and can be seen in the .designer.cs file.

| Alert Moderator 

Comments or Responses

Login to post response