P
Peter B
I have a form that I show with form1.ShowDialog() and wait for an
DialogResult. Depending on the result different things will happen.
In the dialog I have a "help" bbutton, which executes the peghelp.exe
applications with a html-help file as argument (Using OpenNETCF.org's
CreateProcess... When I do this the dialog seems to return (without me
setting DialogResult). This seems to happen when the help file isn't found
and a messagebox is shown in the peghelp application.
I have looked around for information on how ShowDialog works but I can't
understand this behaviour and it really messes my application up. Does
anyone have an explanation?
To solve this, would it be a better choice to use form1.Show instead? In
that case I need to come up with a way of knowing the users choice, but that
is another question...
best regards,
Peter
DialogResult. Depending on the result different things will happen.
In the dialog I have a "help" bbutton, which executes the peghelp.exe
applications with a html-help file as argument (Using OpenNETCF.org's
CreateProcess... When I do this the dialog seems to return (without me
setting DialogResult). This seems to happen when the help file isn't found
and a messagebox is shown in the peghelp application.
I have looked around for information on how ShowDialog works but I can't
understand this behaviour and it really messes my application up. Does
anyone have an explanation?
To solve this, would it be a better choice to use form1.Show instead? In
that case I need to come up with a way of knowing the users choice, but that
is another question...
best regards,
Peter