In this post I tried to show a detail idea about how to execute exactly on instance to your window class. Then you can prevent open a window more than one.
1. Import Library file into your class
2. Get Currently running assembly file. This is a executable file in your project.
3. Get already created instance in your windows application
4. If your window class file not created instance in your project then you can create the instance to your window class.
Thursday, November 24, 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment