This is a migrated thread and some comments may be shown as answers.

Set ShappedForm to FullScreen

0 Answers 45 Views
Form
This is a migrated thread and some comments may be shown as answers.
Leandro
Top achievements
Rank 1
Leandro asked on 15 Sep 2018, 02:14 PM

I've add a button to titlebar to allow the user set the form to fullscreen.

var screen = Screen.FromControl(this);
this.MinimumSize = screen.Bounds.Size;
this.Bounds = screen.Bounds;

But seems shapedform don't allow me to do that. Is there anyway to achive that?

No answers yet. Maybe you can help?

Tags
Form
Asked by
Leandro
Top achievements
Rank 1
Share this question
or