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

Carlos Alberto Cortez calberto.cortez at gmail.com
Fri Jun 5 12:44:19 EDT 2009


I extracted this from your file:

using System;
using System.Windows.Forms;

public class Test
{
    static void Main ()
    {
        string outputText = "Succesfully STARTED MySQL CHECKER";
        MessageBox.Show(outputText, "SUCCES",
                MessageBoxButtons.OK,
                MessageBoxIcon.Information);

    }
}

 And it seems to work fine in trunk/2.4.

Would you mind testing this sample? Also, can you tell us what version are
you using?

Carlos.

2009/6/3 mickvdv <mickvdv at teux.net>

>
> 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.
>
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20090605/cdb96d19/attachment-0001.html 


More information about the Mono-winforms-list mailing list