1
Answer

Maximize rounded form C#

Goran Bibic

Goran Bibic

2y
592
1

I use code to draw rounded form

this.FormBorderStyle = FormBorderStyle.None;
Region = System.Drawing.Region.FromHrgn(CreateRoundRectRgn(0, 0, Width, Height, 20, 20));

 

When use maximize function form size stay same

this.WindowState = FormWindowState.Maximized;



What need to change to work maximize function?

 

Answers (1)