Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

My Own DateTimePicker Class, Access to Form Properties

Status
Not open for further replies.

Auguy

Programmer
May 1, 2004
1,206
US
I'm creating my own DateTimePicker class inheriting the Windows form DateTimePicker. I would like the events I have in the class to respond differently depending on a property of the form which can be changed during the life of the form. How do I get this to work? I see that I can use the Find Form to get a reference to the form containing the control and maybe get the value of the form property that way. Would this work and would I have to do that every time an event is fired or is there another way?

Auguy
Sylvania/Toledo Ohio
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top