Sufian Matloob wrote:
and secondly any orher form could not be opened untill previous form that is curently opened is closed.
Only one form should be open in a time.
Based on the description it sounds you want to open the other form as modal. If this is the case then you need to use
Form.ShowDialog Method (System.Windows.Forms)[
^]
For example
Form2 f2 = new Form2();
f2.ShowDialog(this);
Also as explained in the previous answer, to prevent the form from showing in the taskbar, set the ShowInTaskBar property to false.