C# 2005: Remove icon from the form's title bar

Set ShowIcon Property of the form to False to see if that's what your client wants.


There are two ways.

First is to create an empty Icon file and then Select Form -> Right Click -> Goto Properties -> Goto Icon -> Select your file.

The other approach is to set FormBorderStyle of the form to FormBorderStyle.SizableToolWindow or FormBorderStyle.FixedToolWind

And one more way is to set ShowIcon property to be false.


Set

FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog

Tags:

C#

Forms

Titlebar