Skip to content

Instantly share code, notes, and snippets.

@AungWinnHtut
Created August 14, 2016 03:15
Show Gist options
  • Save AungWinnHtut/07728308f201ff4dbd4d01c3f967ee47 to your computer and use it in GitHub Desktop.
Save AungWinnHtut/07728308f201ff4dbd4d01c3f967ee47 to your computer and use it in GitHub Desktop.
multiform control in multi screen
Screen[] screens = Screen.AllScreens;
Rectangle bounds = screens[0].Bounds;
this.SetBounds(bounds.X, bounds.Y, bounds.Width, bounds.Height);
this.StartPosition = FormStartPosition.CenterScreen;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment