It might be this bug: https://bugzilla.novell.com/show_bug.cgi?id=648403
bmnds wrote: > > I dunno what may be causing it to happen. I've done a simple application > before using winforms and it worked (the Picture Viewer example). > > I'm attaching the Visual Studio C# project if someone wants to check it. > > I'm completely blind here, no clue what can cause this... it works normaly > on Windows 7. > I've used an OpenFileDialog, TabView and some regular containers and > controls. > > Here is the log (the window not even open, so I'm pretty sure it is some > of the componentes, TabView maybe?): > > tes...@tesshu:~/Área de Trabalho/Mono .NET$ mono FileServer.exe & > [1] 1989 > tes...@tesshu:~/Área de Trabalho/Mono .NET$ > Unhandled Exception: System.InvalidCastException: Cannot cast from source > type to destination type. > at FileServer.Form1.InitializeComponent () [0x00000] > at FileServer.Form1..ctor () [0x00000] > at (wrapper remoting-invoke-with-check) FileServer.Form1:.ctor () > at FileServer.Program.Main () [0x00000] > > http://mono.1490590.n4.nabble.com/file/n3085664/FileServer.zip > FileServer.zip > -- View this message in context: http://mono.1490590.n4.nabble.com/Form-InicializeComponent-throwing-InvalidCastException-tp3085664p3085699.html Sent from the Mono - WinForms mailing list archive at Nabble.com. _______________________________________________ Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-winforms-list