Hello,
I am using a menu as a navigation device.
Select an option on the menu , and I modally show the correct dialog. I have all the code for the menu in my main dialogs class. My issue arises though when I want to use the same menu for all the dialogs. If I am on the main dialog, and I use the menu to open Dialog B. Dialog B is using the same menu so when the user clicks on the menu to go to another dialog, I need to close dialog B, but the code for the menu is in the main dialog. Any ideas on how to close the current dialog providing its not the main dialog, and proceed from there?
Thanks
I am using a menu as a navigation device.
Select an option on the menu , and I modally show the correct dialog. I have all the code for the menu in my main dialogs class. My issue arises though when I want to use the same menu for all the dialogs. If I am on the main dialog, and I use the menu to open Dialog B. Dialog B is using the same menu so when the user clicks on the menu to go to another dialog, I need to close dialog B, but the code for the menu is in the main dialog. Any ideas on how to close the current dialog providing its not the main dialog, and proceed from there?
Thanks