This will help you to bound your screen to desktop bound in windows application
int screenWidth = Screen.GetBounds(new Point(0, 0)).Width;
int screenHeight = Screen.GetBounds(new Point(0, 0)).Height;
this.SetDesktopBounds(0, 0, screenWidth, screenHeight);
No comments:
Post a Comment