[MonoDevelop] MessageBox.show window wont close

Zenwalker shailesh.zenwalk at gmail.com
Thu Sep 17 13:06:10 EDT 2009

Ya considering that i wish to mix up winform and gtk#, why it isnt closing?

And yet i have to read the documentation about GTK# to use MessageDialog.

On Thu, Sep 17, 2009 at 7:03 PM, Chris Howie <cdhowie at gmail.com> wrote:

> On Thu, Sep 17, 2009 at 12:53 PM, Zenwalker <shailesh.zenwalk at gmail.com>
> wrote:
> > Installed MonoDevelop 2.0 on Zenwalk. Created a new GTK# project (form
> > project) Added a button into the form. The Button click event i added
> > MessageBox.show method from Windows.Forms package.
> >
> > Upon running the code, this message box gets displayed. But it wont close
> by
> > clicking Ok on that dialog or even close button on window corner.
> >
> > Should i have to add an explicit close event unlike in Visual Studio?
> No, but you should not be mixing Gtk# with WinForms unless you have a
> very good reason to do so, like implementing a WinForms designer in
> Gtk# or something.
> Use Gtk's MessageDialog class instead.
> --
> Chris Howie
> http://www.chrishowie.com
> http://en.wikipedia.org/wiki/User:Crazycomputers

“Live your life honestly—if you don’t, you always have
to remember to not be yourself”

"Ever tried Zen Computing?"
visit: www.zenwalk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20090917/fe3f21c0/attachment.html 

More information about the Monodevelop-list mailing list