<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>No, as in calling MessageBox.Show() while creating the first Form.</span></div><div><span><br></span></div><div><span>If you have Stifu's DgwTest project that he posted here a few days ago, it's written like that.</span></div><div><span>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". :-)</span></div><div><span><br></span></div><div><span>Steven Boswell</span></div><div><br></div>  <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Rob Wilkens <robwilkens@gmail.com><br> <b><span
 style="font-weight: bold;">To:</span></b> mono-devel-list@lists.ximian.com <br> <b><span style="font-weight: bold;">Sent:</span></b> Saturday, June 9, 2012 1:39 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Mono-dev] Patches for mono-winforms<br> </font> </div> <br>
<div id="yiv2130972279">
  

    
  
  <div>
    Mono doesn't seem to freak out either.. <br>
    <br>
    I followed the instructions here for creating a dialog:<br>
    
    http://www.c-sharpcorner.com/UploadFile/michaelgold/CreatingDialogsin.NET11232005043509AM/CreatingDialogsin.NET.aspx<br>
    <br>
    Created the project in Visual Studio, modified the <a target="_blank" href="http://program.cs">program.cs</a> so
    instead of calling Application.Run(new Form 1), it instead does
    something like:<br>
    <br>
    Form Form1 = new Form1();<br>
    Form1.ShowDialog();<br>
    <br>
    I compiled and ran this in windows - fine.<br>
    <br>
    I then brought the binary (.exe) over to my linux partition and ran
    it in mono 2.10.8.1 and it ran fine.<br>
    <br>
    -Rob<br>
    <br>
    On 06/09/2012 03:36 PM, Steven Boswell II wrote:
    <blockquote type="cite">
      <div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; ">
        <div><span>It's my understanding that .NET doesn't freak out in
            this case.</span></div>
        <div><span>I put this on my list of mono-winforms issues to look
            at, but hadn't gotten to it yet.</span></div>
        <div><span>Feel free to look at it.</span></div>
        <div><span>I imagine there's still a zillion mono issues in the
            Xamarin/Novell bug databases that you could look at if you
            wanted to :-)</span></div>
        <div><span><br>
          </span></div>
        <div><span>Steven Boswell</span></div>
        <div><br>
        </div>
        <div style="font-size: 12pt; font-family: times, serif; ">
          <div style="font-size: 12pt; font-family: times, serif; ">
            <div dir="ltr"> <font face="Arial" size="2">
                <hr size="1"> <b><span style="font-weight:bold;">From:</span></b>
                Rob Wilkens <a rel="nofollow" class="yiv2130972279moz-txt-link-rfc2396E" ymailto="mailto:robwilkens@gmail.com" target="_blank" href="mailto:robwilkens@gmail.com"><robwilkens@gmail.com></a><br>
                <b><span style="font-weight:bold;">To:</span></b>
                <a rel="nofollow" class="yiv2130972279moz-txt-link-abbreviated" ymailto="mailto:mono-devel-list@lists.ximian.com" target="_blank" href="mailto:mono-devel-list@lists.ximian.com">mono-devel-list@lists.ximian.com</a> <br>
                <b><span style="font-weight:bold;">Sent:</span></b>
                Saturday, June 9, 2012 12:17 PM<br>
                <b><span style="font-weight:bold;">Subject:</span></b>
                Re: [Mono-dev] Patches for mono-winforms<br>
              </font> </div>
            <br>
            <div id="yiv2130972279">
              <div> On 06/09/2012 02:49 PM, Steven Boswell II wrote:
                <blockquote type="cite">
                  <div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 12pt; font-family: times, serif; "><br>
                    <div><span>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.</span></div>
                    <br>
                  </div>
                </blockquote>
                <br>
                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.<br>
                <br>
                -Rob<br>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            Mono-devel-list mailing list<br>
            <a rel="nofollow" ymailto="mailto:Mono-devel-list@lists.ximian.com" target="_blank" href="mailto:Mono-devel-list@lists.ximian.com">Mono-devel-list@lists.ximian.com</a><br>
            <a rel="nofollow" target="_blank" href="http://lists.ximian.com/mailman/listinfo/mono-devel-list">http://lists.ximian.com/mailman/listinfo/mono-devel-list</a><br>
            <br>
            <br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="yiv2130972279mimeAttachmentHeader"></fieldset>
      <br>
      <pre>_______________________________________________
Mono-devel-list mailing list
<a rel="nofollow" class="yiv2130972279moz-txt-link-abbreviated" ymailto="mailto:Mono-devel-list@lists.ximian.com" target="_blank" href="mailto:Mono-devel-list@lists.ximian.com">Mono-devel-list@lists.ximian.com</a>
http://lists.ximian.com/mailman/listinfo/mono-devel-list
</pre>
    </blockquote>
    <br>
  </div>

</div><br>_______________________________________________<br>Mono-devel-list mailing list<br><a ymailto="mailto:Mono-devel-list@lists.ximian.com" href="mailto:Mono-devel-list@lists.ximian.com">Mono-devel-list@lists.ximian.com</a><br><a href="http://lists.ximian.com/mailman/listinfo/mono-devel-list" target="_blank">http://lists.ximian.com/mailman/listinfo/mono-devel-list</a><br><br><br> </div> </div>  </div></body></html>