Ik kreeg wel nog een error:
elias@elias:~$ mono /home/elias/Desktop/examen.exe
Mono System.Windows.Forms Assembly [Revision: 44786; built: 2005/5/25 22:34:45]
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: gdiplus.dll
in (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
in <0x000cc> System.Drawing.GDIPlus:.cctor ()--- End of inner exception stack trace ---
in <0x00000>
in <0x0000c> System.Drawing.Graphics:FromHdcInternal (IntPtr hdc)
in <0x00090> System.Windows.Forms.XplatUIX11:SetDisplay (IntPtr display_handle)
in <0x0008c> System.Windows.Forms.XplatUIX11:.ctor ()
in <0x0003f> System.Windows.Forms.XplatUIX11:GetInstance ()
in <0x00061> System.Windows.Forms.XplatUI:.cctor ()--- End of inner exception stack trace ---
in <0x00000>
in <0x00049> System.Windows.Forms.Form:get_CreateParams ()
in <0x0022f> System.Windows.Forms.Control:.ctor ()
in <0x00011> System.Windows.Forms.ScrollableControl:.ctor ()
in <0x00010> System.Windows.Forms.ContainerControl:.ctor ()
in <0x00010> System.Windows.Forms.Form:.ctor ()
in <0x0000f> Examen_Lecomte_Werner.frmOpstartscherm:.ctor ()
in (wrapper remoting-invoke-with-check) Examen_Lecomte_Werner.frmOpstartscherm:.ctor ()
in <0x0001a> Examen_Lecomte_Werner.frmOpstartscherm:Main ()
elias@elias:~$