I need a way to center the current window on the screen.
So for example, if a user pushes a button, I want the window to center itself onscreenon the screen.
I know you can use the startposition property, but I cannot figure out a way to use that other than when the application first starts up.
So how do I center the form on the screen?