Click here to Skip to main content
15,898,035 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to remove the taskbar of a form to avoid dragging off in windows application?
Posted
Comments
J.Karthick 5-Sep-11 0:46am    
Try to set "ShowinTaskbar" property "FALSE".

Set FormBorderStyle[^] to None[^]
 
Share this answer
 
Another way is to (if you want the borders to remain):
- Clear the text property of the form
- Set MinimizeBox to false
- Set MaximizeBox to false
- Set ControlBox to false
 
Share this answer
 
Sform.FormBorderStyle = FormBorderStyle.None;

This code works.Thanks.
 
Share this answer
 
Comments
Prerak Patel 5-Sep-11 1:25am    
You are welcome. But don't post comment as an answer.

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