|
Hi Everyone, I am new to the mono project and am trying to get it working
for my current project. I have been able to write a basic windows form
application and that works well, but when I try to use an mdi form, it gets
kind of funny on me. I have included links to the screen shots for the
difference, video so you can see the behavior, as well as the code. Basicly, the code is: Form1 oForm = new Form1(); oForm.MdiParent = this; oForm.BackColor = Color.White; oForm.Show(); When I create a few child forms and then close the mdi form
I get the following in the command prompt that I used to start the program: Mono
System.Windows.Forms Assembly [Revision: 54007; built: 2005/12/6 14:35:24] ================================================================= Got a SIGSEGV while
executing native code. This usually indicates a fatal error in the
mono runtime or one of the native libraries used by your
application. ================================================================= Stacktrace: in <0x4>
(wrapper managed-to-native) System.Drawing.GDIPlus:GdipDisposeImage (in tptr) in <0xffffffd8>
(wrapper managed-to-native) System.Drawing.GDIPlus:GdipDisposeIm age (intptr) in <0x10>
System.Drawing.Image:DisposeResources () in <0x13> System.Drawing.Image:Dispose
(bool) in <0x10>
System.Drawing.Image:Finalize () in <0xf0a2488>
(wrapper runtime-invoke) System.Object:runtime_invoke_void (objec t,intptr,intptr,intptr) This application has requested
the Runtime to terminate it in an unusual way. Please contact the
application's support team for more information. I don’t know if I am doing something wrong, or if there is
something that I am missing, or if the implementation is incomplete and what I
am seeing is a bug. Any help or advise anyone can give me would be
greatly appreciated. Source Code: http://ncsadvantage.com/MonoTests/Mdi/LinuxProj.zip Screen shots: http://ncsadvantage.com/MonoTests/Mdi/ScreenShots.zip Video of Program Running: http://ncsadvantage.com/MonoTests/Mdi/Video.zip Thanks, Greg -- -- -- |
_______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list
