QA


Q&A

Q.

Is it possible to create custom events for an object?

A.

Yes, you can create custom events for your own objects (you'll learn about such objects in Hour 16, "Designing Objects Using Classes"), and you can also create them for existing objects. Creating custom events, however, is beyond the scope of this book.

Q.

Is it possible for objects that don't have an interface to support events?

A.

Yes. To use the events of such an object, however, the object variable must be dimensioned a special way or the events aren't available. This gets a little tricky and is beyond the scope of this book.




Sams Teach Yourself Microsoft Visual C# 2005 in 24 Hours, Complete Starter Kit
Sams Teach Yourself Visual C# 2005 in 24 Hours, Complete Starter Kit
ISBN: 0672327406
EAN: 2147483647
Year: N/A
Pages: 248
Authors: James Foxall

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net