[Mono-osx] Windows.Forms where's it at

galzv monoX@gerzonic.net
Mon, 25 Apr 2005 12:23:09 +0200


hi

can somebody please help a dummy newcomer how to find out what actually 
works on osx using Windows.Forms. i now have a working example with 
buttons, and textboxes, but as soon as i try adding a menu, the app 
crashes

Thread 0 Crashed:
0   <<00000000>> 	0x01094c4c 0 + 0x1094c4c
1   <<00000000>> 	0x01094b38 0 + 0x1094b38
2   <<00000000>> 	0x0055c91c 0 + 0x55c91c
3   <<00000000>> 	0x0055b95c 0 + 0x55b95c
4   <<00000000>> 	0x0055b89c 0 + 0x55b89c
5   <<00000000>> 	0x00559408 0 + 0x559408
6   mono              	0x00060ba8 mono_runtime_exec_main + 0x13c 
(object.c:1897)
7   mono              	0x000607f4 mono_runtime_run_main + 0x210 
(object.c:1751)
8   mono              	0x00003b00 mono_main + 0x91c (driver.c:891)
9   mono              	0x000020a4 _start + 0x188 (crt.c:267)
10  mono              	0x00001f18 start + 0x30

// some source:

	MenuItem mnuOpen, mnuClose, mnuExit ;
	MainMenu mnuMain ;
	MenuItem mnuFile, mnuWindow ;


    public Galzvizm()
    {
    
    	mnuFile = new MenuItem() ;
    	mnuFile.Text = "&File" ;
    	mnuFile.MergeOrder = 0 ;
    	
    	mnuWindow = new MenuItem() ;
    	mnuWindow.MergeOrder = 2 ;
    	mnuWindow.Text = "&Window" ;
    	
    	mnuMain = new MainMenu() ;
    	mnuMain.MenuItems.AddRange( new MenuItem[2] { mnuFile, mnuWindow}) 
;

	// up to here everything works but as soon as i uncoment the following 
line, the crash occurs
    	this.Menu = mnuMain ;


i'm more looking for the way to go on finding out what works (do i have 
to skim through the svn source, or is there a list that is regularly 
updated and specifys implemented functionality) than help with the 
above snippet.

thank you guys

christian