New to WiseJ, but I’ve been writing complex WinForms apps for over a decade.
I’m having trouble with Form.ShowDialog(). When I invoke it on a form, the form does appear, but I can’t get the form to go away.
What’s the secret to making the “modal” form go away?
It’s the same in WinForms.
The AcceptButton means that when you press Enter it gets a click. The CancelButton means that when you pres Esc it gets a click. Their DialogResult becomes the DialogResult of the form. But there is no auto close, it’s up to the code to decide what to do.
Please login first to submit.