Jump to content

[VB.NET 2005]cabeçalho do form


Recommended Posts

  • 2 weeks later...

Porque não tiras a titleBar com isto no evento Form1_Load:

Me.FormBorderStyle = Windows.Forms.FormBorderStyle.None

Depois podes desenhar um rectângulo a fazer a titleBar com a cor que quiseres e, com código, atribuir as mesmas funções dos botões que antes existiam.

Por exemplo, para fechar a Form1 podes escrever no evento Click do Button1: End

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.