I have so many form to manage. I want to count the instances of a particular form. For example, if I show my form1 two times then there must be a counter for my form1 and if I also shown my form2 another counter for form2.
I want to do this to minimize the instances of forms to be shown so that my resources will not burden to much.
I want my code to be generic so that I can easily call it for my other forms.
I really need sample codes or snippets. Any help is most appreciated.
Note: Sorry for my grammar guys!