>Hi Dimitry, the code Bonnie gave you in your other thread on Interfaces showed you how to find the parent form of your textbox classes - it also showed you how to test for the existence of your method, e.g. if(This.Parent is IEnableDisable) that is the beauty of interfaces - they
force you to implement all methods defined in the interface ( even if there is no code in them ) so class MyForm:IEnableDisable wont compile unless you implement all of the methods it contains.
Yes, I understand this. Thank you, Pete.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham