C# -> MessageBox On Top

  • Thread starter Thread starter Hareth
  • Start date Start date
H

Hareth

Can someone give me a simple example using

MessageBox.Show, if DialogResult.Yes
a way to keep it always ontop
and center from parent form
 
Hi, I do not know of a way of making the messagebox stay on top, but there
is a good article on code project to create a new messagebox class dealing
with just this

http://www.codeproject.com/dialog/CRHYesNoToAllDialog.asp

Hope this helps

Publicjoe

C# Tutorial at http://www.publicjoe.f9.co.uk/csharp/tut.html
C# Ebook at http://www.publicjoe.f9.co.uk/csharp/samples/ebook.html - 71
Chapters
VB Ebook at http://www.publicjoe.f9.co.uk/vbnet/samples/ebook.html - 28
Chapters
C++ Ebook at http://www.publicjoe.f9.co.uk/cppt/samples/ebook.html - 8
Chapters
Java Ebook at http://www.publicjoe.f9.co.uk/java/samples/ebook.html - 2
Chapters
 
Back
Top