[Mono-osx] Dumbarton and C# subclasses

Andreas Färber andreas.faerber at web.de
Mon May 21 02:07:23 EDT 2007


Am 21.05.2007 um 06:52 schrieb Hawston LLH:

> I was trying the Form in the DBCocoaExample sample in Dumbarton, and
> get the following errors, what I did is simply making
> CurrencyConverter class inherites after Form: "public class
> CurrencyConverter : System.Windows.Forms.Form".
>
> What caught my eye is "Uncaught exception: <An exception was thrown by
> the type initializer for System.Windows.Forms.XplatUI", is XplatUI
> refer to X11? is there something wrong with this? In Terminal, i can
> build an exe and run it without error. Please help.

System.Windows.Forms has nothing to do with Cocoa. Mono's  
implementation is indeed based on X11.

Andreas


More information about the Mono-osx mailing list