(twf1.exe:27349): Mono-WARNING **: DllImport unable to load library 'lib/System/Library/Frameworks/Carbon.framework/Versions/Current/Carbon.so: cannot open shared object file: No such file or directory'.
prog:
using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
class Test: System.Windows.Forms.Form
{
[STAThread ()]
public static void Main (string [] args)
{
System.Windows.Forms.Application.Run (new Test ());
}
Test ()
{
Label l1 = new Label ();
l1.UseMnemonic = true;
l1.Text = "Click &Me";
l1.Location = new Point (15,15);
l1.Font = new Font ("Times New Roman", 10);
this.Text = "Test app";
this.Controls.Add (l1);
}
}