Reset custom region in winforms using C#
Posted
by Suriyan Suresh
on Stack Overflow
See other posts from Stack Overflow
or by Suriyan Suresh
Published on 2010-03-26T05:20:45Z
Indexed on
2010/03/26
5:23 UTC
Read the original article
Hit count: 546
i have removed left portion of a form using graphics path and region command. when i am trying to show group box on removed portion, group box not appeared. how do i show the groupbox on removed region area ?. or how do i reset the region
GraphicsPath shape = new GraphicsPath();
shape.AddRectangle(new Rectangle(200, 0, FormWidth, FormHeight));
this.Region = new Region(shape);
© Stack Overflow or respective owner