Thursday, November 24, 2011

Check whether Instance of window class file already created in current assembly

     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.

No comments:

Post a Comment