[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". :-)
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:
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();
I compiled and ran this in windows - fine.
I then brought the binary (.exe) over to my linux partition and ran
it in mono 22.214.171.124 and it ran fine.
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 :-)
> 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.
>Mono-devel-list mailing list
>Mono-devel-list at lists.ximian.com
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list