i implemented allowing to open single instance of the application by using the following thread
Restoring window from the system tray when allowing only one instance of that program
it is working ,but the currently open window is not restoring.I haven't used the MDI Parent concept.To navigate the form just i used the hide() and show(). I tried the codeproject link from the above thread.I created first instance and i am in mainform.now i tried to open the second instance of the application, it is restoring the same window. After navigating to any of the window in the application.if i do the same,now it is opening the mainform in new window along with existing window.If i closed any one, both are closing.
How to modify the code to solve this?