p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   C# (http://p2p.wrox.com/forumdisplay.php?f=22)
-   -   PreDefined Event Handler (http://p2p.wrox.com/showthread.php?t=146)

mark June 4th, 2003 08:39 PM

PreDefined Event Handler
Event Subscription:

this.textBox1.Validating += new System.ComponentModel.CancelEventHandler(this.myEm ptyTextBox_Validating);

Event Handler:
private void myEmptyTextBox_Validating(object sender, System.ComponentModel.CancelEventArgs e){ }

Can someone tell me what, if anything will be passed to the event handler's second parameter , e ?

Ankur_Verma June 7th, 2003 04:47 AM

Hi Mark

Go to this article in your .net documentation.

ms-help://MS.VSCC/MS.MSDNVS/cpref/html/frlrfsystemcomponentmodelcanceleventargsclasstopic .htm

If the links dont map correctly, simply look for CancelEventArgs Class help topics.

Hope this will help you.


All times are GMT -4. The time now is 02:27 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.