[Mono-osx] Dumbarton and C# subclasses

Hawston LLH hawston at gmail.com
Mon May 21 00:52:50 EDT 2007


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.


2007-05-21 12:46:43.164 DBCocoaExample[916] sample assembly: 0x114f790
2007-05-21 12:46:43.982 DBCocoaExample[916] An uncaught exception was raised
2007-05-21 12:46:43.982 DBCocoaExample[916]   at <0x00000> <unknown method>
  at System.Windows.Forms.Form.get_CreateParams () [0x00000]
  at System.Windows.Forms.Form.get_CreateParams () [0x00000]
  at System.Windows.Forms.Control.InternalSizeFromClientSize (Size
clientSize) [0x00000]
  at System.Windows.Forms.Control..ctor () [0x00000]
  at System.Windows.Forms.ScrollableControl..ctor () [0x00000]
  at System.Windows.Forms.ContainerControl..ctor () [0x00000]
  at System.Windows.Forms.Form..ctor () [0x00000]
  at DBCocoaExample.CurrencyConverter..ctor (Single exchangeRate) [0x00000]
2007-05-21 12:46:43.982 DBCocoaExample[916] *** Uncaught exception:
<An exception was thrown by the type initializer for
System.Windows.Forms.XplatUI>   at <0x00000> <unknown method>
  at System.Windows.Forms.Form.get_CreateParams () [0x00000]
  at System.Windows.Forms.Form.get_CreateParams () [0x00000]
  at System.Windows.Forms.Control.InternalSizeFromClientSize (Size
clientSize) [0x00000]
  at System.Windows.Forms.Control..ctor () [0x00000]
  at System.Windows.Forms.ScrollableControl..ctor () [0x00000]
  at System.Windows.Forms.ContainerControl..ctor () [0x00000]
  at System.Windows.Forms.Form..ctor () [0x00000]
  at DBCocoaExample.CurrencyConverter..ctor (Single exchangeRate) [0x00000]
Program received signal:  "SIGTRAP".

-hawston


More information about the Mono-osx mailing list