How to modify a window in Windows Forms?

Asked

Viewed 517 times

2

How to change the appearance of Window borde, Title bar and button, and status bar in Windows Forms?

  • From Visual Studio or the programs you create in the Visual Studio?

  • Programs created in VS

  • Winforms or WPF?

  • Window-form’s !

  • What you want to change, specifically?

  • At the time was more a doubt, but I think the color or the format.

  • 1

    Jhonatas, it’s impossible for anyone to answer a question if you don’t tell them what the question is.

  • The format then. How to change the format half rounded to straight and uniform?

  • From the edge of the title?

Show 4 more comments

1 answer

6


On the properties of your form, you can choose the Borderstyle among some available options provided by the VS, and this will change the items you quoted. All these styles will be based on your operating system(Ex: if you have windows 8 its edges will be square, if this in the Windows XP its edges will be rounded, or any Visual Style that you have installed)

BorderStyles

You will also have other options like:
ControlBox (true/false): Whether or not to show Minimize, Maximize, restore size and close controls.
Icon: Sets the icon for your form which will be (or not, depending on your Formborderstyle) displayed in Titlebar, toolbar and on Alt+tab
and some others(just take a look at the properties you will find all!)

If you don’t like any, you can also set the Formborderstyle for None and create your own look(Aka Gambiarra) and give to the form the format of your dreams! inserir a descrição da imagem aqui

Browser other questions tagged

You are not signed in. Login or sign up in order to post.