Behavior of a form without border

0

Good morning,

I am creating an application in Windows Forms, which has no border. I would like to know if it is possible to have the same behavior as a Form with border (the effect when minimizing, maximizing, changing Form).

I am currently using a button with this function:

this.WindowState = FormWindowState.Minimized;

It works, but it has no effect of minimizing any, it only hides in a "brusque" way, just like when I change from one Form to another.

    
asked by Rasimus.84 24.07.2017 в 21:06
source

1 answer

0

Without border you can create a series of buttons which will work in a similar way, I think you should make an object that is your form instead of this. Another thing you can try is to give it a width and heigt based on the properties of the user's screen.

    
answered by 24.07.2017 в 21:26