Click here to Skip to main content
15,891,316 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
whenever i run my .net window exe and switch to another application that .net exe form appear on top and did'nt allow me to work on other.how can i stop to hide dat form as sson as i switch to other
Posted

1 solution

You must have set the
C#
myForm.TopMost = true;
. Instead set it to
C#
myForm.TopMost = false;
 
Share this answer
 
Comments
shwetapk 5-Oct-12 5:44am    
No i have set myForm.TopMost = false;
Then to every time when i run that exe ,its comes in top of all windows
bbirajdar 5-Oct-12 5:52am    
Search on the form designer for the property .TopMost . It MUST be set to true. Maybe from the code. Check in the solution.
shwetapk 6-Oct-12 2:49am    
No its not there in code.
bbirajdar 6-Oct-12 13:34pm    
In that case, I can only predict that your computer is haunted. You need to see a witch hunter.... ::laugh::
shwetapk 10-Oct-12 0:00am    
hahahhahha...but y only that particular exe and y not other

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900