How do I make messagebox central in the other window.
Basicly just a "pop up" message box that comferms that the data has been saved but it isn't central to the other windo it just pops up were it whants to :D well if you have some code to fix it would make me a happy girl :)
I don't believe the standard MessageBox object allows you to do this. You would need to create a new form (setting the border style to dialogue) and then, when you have created a new instance of the form in your code you can call;
How do I make messagebox central in the other window.
Irshad_ip
Basicly whant this messagebox to appere in the central anyway I can do that Or do I have to make a new form
Jesse Hose
Who would close the window Do you need the window to close on its own
PablitoMil
I don't believe the standard MessageBox object allows you to do this. You would need to create a new form (setting the border style to dialogue) and then, when you have created a new instance of the form in your code you can call;
dlgMyOwnDialgoueBox.StartPosition = FormStartPosition.CenterParent;
I belive this should work.