[Mono-osx] What about MonoMac is incompatible with WinForms?

Duane Wandless duane at wandless.net
Fri Aug 27 16:25:20 EDT 2010


Lee - I would suggest creating a simple WinForm app to test.  You do have to
call NSApplication.Init().  You may not need to call NSApplication.Main.
 I'm not positive about that.

The other suggestion would be not to use WInForms in your Mac app.  You will
have a much better user experience if you use Interface Builder to build
your Mac UI.  Yes it is almost doubling the work on the UI but at least to
me the result is well worth the extra work.

Duane

On Fri, Aug 27, 2010 at 3:06 PM, Lee V. Andrus <landrus2 at by-rite.net> wrote:

> Geoff North has commented "monomac is not compatible with winforms." (
> http://mono.1490590.n4.nabble.com/forum/PostLink.jtp?post=2315043&cid=1282782305467-769
> ).  But why.  Is it the lack of calls to NSApplication.Init() and
> NSApplication.Main() mentioned later in that thread?  Or does the use
> of Cocoa interfere with the Carbon Driver receiving Carbon Events?
>
> I ask because I am working on a Cocoa Driver for WinForms.  I
> currently use the MCocoa/MObjc bridge.  I have been considering
> switching to MonoMac because it has more official support and probably
> would be more acceptable as a dependency of WinForms.  But a
> fundamental incompatibility would ruin that move--and probably the
> whole idea.
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20100827/7b3ff9f7/attachment.html 


More information about the Mono-osx mailing list