I've just started using Visual Studio.net and C#. I'm writting a HelloWorld app. I have A window with a button in it, when you press the button a message box appears with hello world in it. i use the method 'show' like this:
MessageBox.Show(this, "Hello World!", "Message"
the box appears in the middle of the screen, not over its parent, as i though 'this' would specify. how can i make it appear in the correct place?
MessageBox.Show(this, "Hello World!", "Message"
the box appears in the middle of the screen, not over its parent, as i though 'this' would specify. how can i make it appear in the correct place?