How to close a dialouge box from some custom link inside the dialouge box

Posted by Ashish on Stack Overflow See other posts from Stack Overflow or by Ashish
Published on 2010-03-05T05:23:13Z Indexed on 2010/05/11 20:04 UTC
Read the original article Hit count: 221

Filed under:

Hi, I have custom control which i am rendering inside dailouge box. this custom control has a link lable lnkLable. I want to close the opened window when i click on lnkLable.

right now i am finding the parent of my conrol which will be dialouge control in the end and then calling the dispose method of that, which i dont feel very good technique to do this.

Thanks in advance for your help/suggestions.

regards, ashish kalia

© Stack Overflow or respective owner

Related posts about window

Related posts about winforms