V
Vikas Kumar
Hashtable 7/7/2006 2:37 AM
I have this Hasttable windowList
Hashtable windowList = new Hashtable();
To this Hashtable I add a form with a string as key in the following manner.
The string is decided at runtime.
FormX frm = new FormX();
frm.Show();
windowList.add("Form1",frm);
Now I want to close all the Forms which i have added to this hashtable. How
can i do this if i don't know the keys ( coz they were added at runtime )
I have this Hasttable windowList
Hashtable windowList = new Hashtable();
To this Hashtable I add a form with a string as key in the following manner.
The string is decided at runtime.
FormX frm = new FormX();
frm.Show();
windowList.add("Form1",frm);
Now I want to close all the Forms which i have added to this hashtable. How
can i do this if i don't know the keys ( coz they were added at runtime )