I have created a windows form in side another form. I have also
created a thread and want to run the 2nd form from first one so that
at anytme both the forms are ineractive.

the code is

ArrayList  al = new ArrayList( );
.......
......

Form2 fob = new Form2( );
Thread thd = new Thread(fob.Show );
al.add(thd);
thd.Start( );

In the above code al is the placeholders of all the threads(windows
forms).

But when I run the program, the 2nd form appeared only for momentarily
and disappeared.

Please help me.

Reply via email to