[Mono-winforms-list] Suffering from mono-noob-cleosis.

Natalia Portillo claunia at claunia.com
Sat Sep 18 09:03:00 EDT 2010


Hi,


El 17/09/2010, a las 20:03, KurtPW escribió:

> 
> Hi all:
> 
> Completely new to Mono. I develope C#.Net Winforms apps and I'd like to try
> porting one to OSX. But before I jump in I have a few high-level questions
> for you all.
> 
> 1) For those of you who have run .Net on OSX, what were your results? Was it
> worth it?
You can run winforms apps without modification but I encountered the following not-so-simple problems:

1.- By default winforms uses Mac's Carbon API to show, and then (at least for me), nothing works as expected:
 a.- Textboxes cannot be written
 b.- Transparency does not work
2.- Changing it to use X11 API made textboxes working but not transparency and added the following:
 a.- More load time (as another Mac application must be run, and installed, X11.app)
 b.- Requires the user to have X11.app installed (not always the case)
 c.- Does not copy paste
 d.- MenuStrip does unfold only on first click
3.- In any case you will not get any of the following:
 a.- Dock integration (changing icon, showing a badge)
 b.- Feel & look
 c.- Mac's upper menu strip
4.- There are tricks that can be done using GTK# instead of winforms (like the menu) but there are things that still feel strange.

> 2) Where does one begin? What are the broad steps? I would guess that I'd
> build simple Hello World stuff in C#.Net then port it to OSX for testing.
If you are in a hurry and cannot wait for Mono 2.8 and MonoMac I recommend you using MonObjc

> 3) Any recommended books out there?
Apple Macintosh User Interface Guidelines. Whatever you use, whatever you do, mac users expect the application to follow that guidelines.

Then the class references for Cocoa, just ignore the ObjectiveC code examples, the ":" and check the names of the properties and constructors as that are the ones you will use in MonoMac/MonObjc.
Even if the documentation for MM/MO is good you'll learn a lot from Apple documentation.

Regards,
Natalia Portillo
Claunia.com

> Thanks.
> 
> Kurt
> -- 
> View this message in context: http://mono.1490590.n4.nabble.com/Suffering-from-mono-noob-cleosis-tp2544299p2544299.html
> Sent from the Mono - WinForms mailing list archive at Nabble.com.
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list



More information about the Mono-winforms-list mailing list