Click here to Skip to main content
16,022,333 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hello
how can find out which form is caller of a specific form by c# . who can help me ?
thank
Posted
Comments
Sergey Alexandrovich Kryukov 18-Feb-11 16:45pm    
Nobody will as you're too careless about you writing.
Ask precise question, post some code, exceptions, etc.
--SA

1 solution

Do you mean the parent form? If so, it's hard to get that unless it's set correctly. Owner and Parent properties can both be null.
 
Share this answer
 
v2
Comments
Sergey Alexandrovich Kryukov 18-Feb-11 16:46pm    
OP digesting... come on, I just voted.
--SA
Nish Nishant 18-Feb-11 17:19pm    
I suspect he wants to know which form created his form, but I agree, his question's quite vague.
Sergey Alexandrovich Kryukov 18-Feb-11 17:28pm    
Aha, I usually turn them down until (if ever) it's comprehensible.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900