yes, able to do that : )
but another new problem found
if I click the form2 again and again, but form2 will appear again in new as
new form2 again and again.
if form2 already display, then do nothing,
else
display form2
end if
any idea how to detect the above concept ?
Stoitcho Goutsev (100) said:
Hi,
Make the form1 owner of form2.
form2.Owner = form1;
This way form2 will be always on top of form1. form2 will hide when you
minimize or hide form1.
By default form2 is not shown on the task bar. If you want to have it on the
task bar you should set ShowInTaskBar to true. However even if you do the
last when you minimize form1 form2 will disappear form the task bar.
--
B\rgds
HTH
100 [C# MVP]
A-PK said:
Hi,
I got two forms, named form1 and form2
when i click on form1, the form2 by default by display under form1.
is there a way that able to show form2 all the time even if i click on form1