[Mono-dev] Patches for mono-winforms

Steven Boswell II ulatekh at yahoo.com
Sat Jun 9 21:34:54 UTC 2012


No, as in calling MessageBox.Show() while creating the first Form.

If you have Stifu's DgwTest project that he posted here a few days ago, it's written like that.
I could also modify my recently-posted ComboBoxTest to do that -- in fact, I had to put it in its current form after I saw Mono "freak out". :-)

Steven Boswell


________________________________
 From: Rob Wilkens <robwilkens at gmail.com>
To: mono-devel-list at lists.ximian.com 
Sent: Saturday, June 9, 2012 1:39 PM
Subject: Re: [Mono-dev] Patches for mono-winforms
 

Mono doesn't seem to freak out either.. 

I followed the instructions here for creating a dialog:
http://www.c-sharpcorner.com/UploadFile/michaelgold/CreatingDialogsin.NET11232005043509AM/CreatingDialogsin.NET.aspx

Created the project in Visual Studio, modified the program.cs so instead of calling Application.Run(new Form 1), it instead does something like:

Form Form1 = new Form1();
Form1.ShowDialog();

I compiled and ran this in windows - fine.

I then brought the binary (.exe) over to my linux partition and ran
    it in mono 2.10.8.1 and it ran fine.

-Rob

On 06/09/2012 03:36 PM, Steven Boswell II wrote: 
It's my understanding that .NET doesn't freak out in this case.
>I put this on my list of mono-winforms issues to look at, but hadn't gotten to it yet.
>Feel free to look at it.
>I imagine there's still a zillion mono issues in the Xamarin/Novell bug databases that you could look at if you wanted to :-)
>
>
>Steven Boswell
>
>
>
>________________________________
> From: Rob Wilkens <robwilkens at gmail.com>
>To: mono-devel-list at lists.ximian.com 
>Sent: Saturday, June 9, 2012 12:17 PM
>Subject: Re: [Mono-dev] Patches for mono-winforms
> 
>
>On 06/09/2012 02:49 PM, Steven Boswell II wrote: 
>
>>
>>Also, I noticed that bringing up a dialog box before calling Application.Run() tends to make Mono freak out.  Maybe that's the problem with your DgwTest project?  The enclosed ComboBoxTest project waits until the Form's Load event to bring up dialog boxes.
>>
>That's interesting to me -- Does this differ from MS
                .Net behavior?  I can see where bringing up a dialog box
                in modal (full control above all previous windows) mode
                would demand some kind of message processing to be
                running until it returns..  If it's not already.  Sounds
                like a bug, if so probably should be filed.  If you want
                me to do the footwork of checking it against windows and
                filing the bug report, just say so and i'll spend the
                time.  I"m kind of in a holding pattern on doing new
                patchwork while waiting for some earlier patches to
                either clear or be rejected.
>
>-Rob
>
>_______________________________________________
>Mono-devel-list mailing list
>Mono-devel-list at lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
>
>
>
>_______________________________________________
Mono-devel-list mailing list Mono-devel-list at lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list 

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120609/f93989ca/attachment.html>


More information about the Mono-devel-list mailing list