[Mono-osx] Problems with first WinForms Hello World

Artyom Tyazhelov Artyom Tyazhelov <artyom.tyazhelov@gmail.com>
Mon, 11 Apr 2005 11:05:11 +0300


Armin,

just for your information:

if you want to use OS X SWF backend driver, you need to export
MONO_MWF_USE_QUARTZ_BACKEND environment variable.
look here:

[MONO_SRC_ROOT] /
mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs
line 87:

if (Environment.OSVersion.Platform == (PlatformID)128) {
       if (Environment.GetEnvironmentVariable
("MONO_MWF_USE_QUARTZ_BACKEND") != null)
               driver=XplatUIOSX.GetInstance();
       else
               driver=XplatUIX11.GetInstance();

hope this helps

Arty0M

On Apr 10, 2005 12:14 AM, Armin Arnegger <arnegger@innosolv.ch> wrote:
> See below [Armin]
> 
[skiped. preserve world bandwith.]