单声道在Windows上运行

时间:2013-11-29 10:41:47

标签: mono window

mono 3.2

如何在Windows中运行简单的hello表单。当我运行“mono”命令时,它会出现以下错误。我已经在单声道安装文件夹中修复了.config文件。

Unhandled Exception:
System.NotImplementedException: The requested feature is not implemented.

  at System.Runtime.InteropServices.Marshal.ReadInt16 (System.Object ptr, Int32 ofs) [0x00000] in <filename unknown>:0 

  at System.Drawing.Font.FromLogFont (System.Object lf, IntPtr hdc) [0x00000] in <filename unknown>:0 

  at System.Drawing.Font.FromHfont (IntPtr hfont) [0x00000] in <filename unknown>:0 

  at System.Drawing.SystemFonts.get_DefaultFont () [0x00000] in <filename unknown>:0 

  at System.Windows.Forms.Theme.get_DefaultFont () [0x00000] in <filename unknown>:0 

  at System.Windows.Forms.Control.get_DefaultFont () [0x00000] in <filename unknown>:0 

  at System.Windows.Forms.Control.get_Font () [0x00000] in <filename unknown>:0 

  at System.Windows.Forms.Form..ctor () [0x00000] in <filename unknown>:0 

  at hello.Form1..ctor () [0x00000] in <filename unknown>:0 

  at (wrapper remoting-invoke-with-check) hello.Form1:.ctor ()

  at hello.Program.Main () [0x00000] in <filename unknown>:0 

[ERROR] FATAL UNHANDLED EXCEPTION: System.NotImplementedException: The requested feature is not implemented.

  at System.Runtime.InteropServices.Marshal.ReadInt16 (System.Object ptr, Int32 ofs) 

[0x00000] in <filename unknown>:0 

  at System.Drawing.Font.FromLogFont (System.Object lf, IntPtr hdc) [0x00000] in <filename unknown>:0 

  at System.Drawing.Font.FromHfont (IntPtr hfont) [0x00000] in <filename unknown>:0 

  at System.Drawing.SystemFonts.get_DefaultFont () [0x00000] in <filename unknown>:0 

  at System.Windows.Forms.Theme.get_DefaultFont () [0x00000] in <filename unknown>:0 

  at System.Windows.Forms.Control.get_DefaultFont () [0x00000] in <filename unknown>:0 

  at System.Windows.Forms.Control.get_Font () [0x00000] in <filename unknown>:0 

  at System.Windows.Forms.Form..ctor () [0x00000] in <filename unknown>:0 

  at hello.Form1..ctor () [0x00000] in <filename unknown>:0 

  at (wrapper remoting-invoke-with-check) hello.Form1:.ctor ()

  at hello.Program.Main () [0x00000] in <filename unknown>:0 

使用.net framework 3.5

的winforms中的简单形式

0 个答案:

没有答案