Skip to main content
Known Participant
June 13, 2007
Question

About closing dialog

  • June 13, 2007
  • 3 replies
  • 536 views
Hi, all.

I have a problem about closing dialog.
I have a dialog(dialog A) with a button.
when I click the button, another dialog(dialog B) will be open.
If I click the OK button on dialog B,
dialog B will be closed.
What I want to do is, after dialog B closed,
I also want dialog A to be closed without clicking
the OK button or Cancel button on dialog A.

Can some tell me how to close the dialog A?

BestRegard.
Miya.
This topic has been closed for replies.

3 replies

Known Participant
June 18, 2007
Hi, Emanuele .

Thank you for your message.
But can you tell me in detail?
I'm not good at English, so...
do you mean that I can use the observer of "dialog A"
to observe the closure of "dialog B"?

BestRegard.
Miya.
Participating Frequently
June 14, 2007
Hi Miya,
you probably need to use Close methode of IDialog. As long as you can get a reference to such a "dialog A", probably with an observer observing closure of "dialog B", you can try to call its Close method.

HTH,
Emanuele
Known Participant
June 13, 2007
Sorry for the face mark.
It's not a face mark but "dialog B" .