[Mono-winforms-list] Form.InicializeComponent() throwing InvalidCastException
b.mendes00 at gmail.com
Mon Dec 13 11:23:41 EST 2010
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
Here is the log (the window not even open, so I'm pretty sure it is some of
the componentes, TabView maybe?):
tesshu at Tesshu:~/Área de Trabalho/Mono .NET$ mono FileServer.exe &
tesshu at 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]
View this message in context: http://mono.1490590.n4.nabble.com/Form-InicializeComponent-throwing-InvalidCastException-tp3085664p3085664.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.
More information about the Mono-winforms-list