Mar 18, 2009 at 2:20 PM
Edited Mar 18, 2009 at 2:32 PM
I think you're right. I never tried before the NavigateDialog method and that scenario can actually happen.
Some changes may be required in the code for that method to work properly.
public static DialogResult NavigateDialog(Controller controller)
string name = controller.Name;
DialogResult res = controller.View.ShowDialog();
Since Close() method is called automatically when DialogResult is set in the modal form, there no need to hide the form.
We just call the history.GoBack(), to set the previous controller as the current controller.
But Alex can say more about this :)
Gonçalo Seabra Ferreira