[Mono-list] Simple Window Form can not be showed in Solaris

Huaiyang Mao huaiyang.mao at gmail.com
Thu Jul 28 08:53:11 EDT 2005


Hello,

I have installed mono 1.1.8.2 in Solaris and can compile the following
code with "mcs -r:System.Windows.Forms Test.cs" successfully. I tried
to start it "mono Test.exe", but I could not get the simple Windows
Form showed. Could you help me to solve the problem? Many thanks.

------------------------------------------------------------------------------------------------------------------
using System;
using System.Collections;
using System.ComponentModel;

namespace client
{
  public class SimpleForm
  {
    private System.ComponentModel.Container components = null;

    [STAThread]
    static void Main() 
    {
      Application.Run(new SimpleForm());
    }

    public SimpleForm()
    {
    }
  }
}


More information about the Mono-list mailing list