Product : Engine, Version : 4.0.1.1019, ArticleID : 41019081

Bug : VectorDraw components within DotNet MDI applications.

Article41019081
TypeBug
ProductEngine
Version4.0.1.1019
Date Added4/18/2003
FixedYes [4/21/2003]
Submitted byDimitris Levakos
Keywords

Subject

VectorDraw components within DotNet MDI applications.

Summary

This bug occur when you try to build a MDI application with a child form with any VectorDraw Components.

After a while ( open-close ) the program crash.

How to recreate :

Build a new DotNet project and add two(2) forms.

Set to one the IsMdiContainer = true and two button "New" and "Close".
Call the AddDocument from the "New" button and the CloseDocument from the "Close" button.

private void AddDocument()
{
   Form2 doc = new Form2("Document " + windowCount);
   doc.MdiParent = this;
   doc.Show();
}

private void CloseDocument ()
{
    if ( this.ActiveMdiChild != null )
         this.ActiveMdiChild.Close ();
}

Solution

It is fixed in 4.0.2.1020