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

2009-06-05 Thread mickvdv

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


[Mono-winforms-list] C# 2008 - Buttons not showing up on RHEL 5

2009-06-05 Thread Aatif_Chaudhry

I have a simple form application made in C# (MS VS 2008), it has two buttons,
but when I run it on RH Linux 5 through mono, the buttons are not visible on
the form. What I see is two black lines which on click, initiate the
respective button's event.
-- 
View this message in context: 
http://www.nabble.com/C--2008---Buttons-not-showing-up-on-RHEL-5-tp23864848p23864848.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.

___
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list


Re: [Mono-winforms-list] C# 2008 - Buttons not showing up on RHEL 5

2009-06-05 Thread Carlos Alberto Cortez
Hey!

Well, it sounds like a bug, but it sounds like an old version, too. Would
you mind running mono --version?

Carlos.

2009/6/4 Aatif_Chaudhry gaa...@gmail.com


 I have a simple form application made in C# (MS VS 2008), it has two
 buttons,
 but when I run it on RH Linux 5 through mono, the buttons are not visible
 on
 the form. What I see is two black lines which on click, initiate the
 respective button's event.
 --
 View this message in context:
 http://www.nabble.com/C--2008---Buttons-not-showing-up-on-RHEL-5-tp23864848p23864848.html
 Sent from the Mono - WinForms mailing list archive at Nabble.com.

 ___
 Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-winforms-list

___
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list


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

2009-06-05 Thread Carlos Alberto Cortez
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 mick...@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@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-winforms-list

___
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list