Re: MessageDialog.Show() Wont close

Carlos Alberto Cortez <[email protected]>
Newsgroups gmane.comp.gnome.winforms
Message-ID <[email protected]>
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 <[email protected]>

>
> 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  -  [email protected]
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>

_______________________________________________
Mono-winforms-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.