U

U


Use the Implements keyword to Share Events

This sample shows one way to manage forms where you want the same code to run for each control of a certain type on the form, without having to add code to each event handler. This sample also shows yet another use for the Implements statement. Finally, this sample shows how to determine how a control gets or loses focus. It'll tell you if the user clicked the mouse, pressed Tab or Shift-Tab to get to and from each box. This sample is related to my Add Controls at Runtime With Events (kind of) sample. Note: This sample used to be called Share Events by using Implements.

Back to Index

A B C D E F G h I j k L M N O P q R S T U V w x y z