S
san
Hi,
I have a C# windows application App.exe that uses a UI
component from another dll that components.dll. Everything
works fine except that when I close the window of App.exe
the process does not terminate (I can see App.exe is the
task manager). Also, I tried to see if control was
returned to Main() after closing the UI (since
Application.Run( myForm ) is used control should be
returned to Main() once the UI is closed. This does not
seem to happen.
I have resorted to Process.GetCurrentProcess().Kill().
This is not a correct/elegant solution. Any suggestions?
Regards,
Sandeep
I have a C# windows application App.exe that uses a UI
component from another dll that components.dll. Everything
works fine except that when I close the window of App.exe
the process does not terminate (I can see App.exe is the
task manager). Also, I tried to see if control was
returned to Main() after closing the UI (since
Application.Run( myForm ) is used control should be
returned to Main() once the UI is closed. This does not
seem to happen.
I have resorted to Process.GetCurrentProcess().Kill().
This is not a correct/elegant solution. Any suggestions?
Regards,
Sandeep