[Mono-winforms-list] MessageDialog.Show() Wont close

mickvdv mickvdv at teux.net
Wed Jun 3 15:23:35 EDT 2009


Hi all

I got a problem. I wrote an console app that checks if there is a new entry
in a mysql tabel. It uses a popup, MessageDialog. But if i push the OK
button the dialog wont close! When i put 

Form form1 = new Form();
form1.Show();
form1.Hide();

After it the popup does close when pushing OK. But that is a littlebit
ugly%-|

The code:
Without the form option
http://pastebin.com/f59a267b8

Using the form option
http://pastebin.com/f2416633a

Is this a bug or am I just being stupid (or both:P)?

Mickvdv

-- 
View this message in context: http://www.nabble.com/MessageDialog.Show%28%29-Wont-close-tp23857718p23857718.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.



More information about the Mono-winforms-list mailing list