[Mono-winforms-list] mono mdi form problem - Child forms erratic behavior

Greg Creme gcreme at ncsadvantage.com
Fri Jan 27 09:51:33 EST 2006


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:  

HYPERLINK
"http://ncsadvantage.com/MonoTests/Mdi/LinuxProj.zip"http://ncsadvantage.com
/MonoTests/Mdi/LinuxProj.zip

 

Screen shots: 

HYPERLINK
"http://ncsadvantage.com/MonoTests/Mdi/ScreenShots.zip"http://ncsadvantage.c
om/MonoTests/Mdi/ScreenShots.zip

 

Video of Program Running: 

HYPERLINK
"http://ncsadvantage.com/MonoTests/Mdi/Video.zip"http://ncsadvantage.com/Mon
oTests/Mdi/Video.zip

 

Thanks, 

Greg

 

 


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.23/242 - Release Date: 1/26/2006



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.23/242 - Release Date: 1/26/2006



-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.23/242 - Release Date: 1/26/2006
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20060127/a707fe9d/attachment.html


More information about the Mono-winforms-list mailing list