The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Windows Forms - Basic events in the Lifecycle of Forms and Controls

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Pau Laudeman

Posts: 54
Nickname: plaudeman
Registered: Apr, 2005

Pau Laudeman is a Smart Client junkie for the .NET platform!
Windows Forms - Basic events in the Lifecycle of Forms and Controls Posted: Apr 17, 2005 7:18 PM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Pau Laudeman.
Original Post: Windows Forms - Basic events in the Lifecycle of Forms and Controls
Feed Title: Paul Laudeman
Feed URL: /error.htm?aspxerrorpath=/blogs/paul.laudeman/rss.aspx
Feed Description: Helping You to Make "Smart Clients" Smarter!
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Pau Laudeman
Latest Posts From Paul Laudeman

Advertisement

Recently, a community member posted a question to the WindowsForms.NET site forums asking about the basic events that are fired in Forms and User Controls in Windows Forms applications. After digging through the MSDN documentation and various other sources (amazingly, it doesn't seem like the complete list is documented in any one place), I came up with the following:

Form Events:

  • Construtor
  • Load
  • Layout
  • Activated
  • Paint­
  • Closing
  • Closed
  • Deactivate
  • Dispose

and for Controls:

  • Enter 
  • GotFocus 
  • Leave 
  • Validating 
  • Validated 
  • LostFocus

I also discovered a code sample called EventSpy written by Urs Eichmann that you can use to view and filter the events to see in real time to see how your application is behaving. This is really helpful to use as you can see which events are fired and in what order as your application runs. Very cool!

Read: Windows Forms - Basic events in the Lifecycle of Forms and Controls

Topic: Addictive, hypnotic and simple game Previous Topic   Next Topic Topic: Yahoo 360? *yawn*

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use