Connect will validate the user data and return back to the MainWindow. Exit will set local flag (userSelectToExit) and return back to the MainWindow.
K. Tsang CEng MBCS PMP PMI-ACP OCMJEA OCPJP
Q3 - did you set the EXIT_ON_CLOSE for the main window?
Q2 - one question. In your setup triggering "exit" will display the main window?
In your main window - when are you executing userExited() method? What "return" value are you referring to?
Pete Palmer wrote:
If the user selects Connect, the user data is validated ( & assuming thats ok), the userSelectToExit flag is set to TRUE, close the ConfigurationDialog window and return. If the user selects Exit, the userSelectToExit flag is set to FALSE, close the ConfigurationDialog window and return.
if it's correct the first time, it should always be correct.
off-topic: why adding the networkClientConfigurationPanel twice?
what happens if you just close the dialog by the X in the upper right corner?
i hope CONNECT and EXIT refer to 2 different strings
Now i'm gonna watch belgian football and record MotD
dialog closes nicely.
What about the championship at crucible ?
And is it handled as the user choose to exit?
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |