Article | 41019081 |
Type | Bug |
Product | Engine |
Version | 4.0.1.1019 |
Date Added | 4/18/2003 |
Fixed | Yes [4/21/2003] |
Submitted by | Dimitris Levakos |
Keywords |
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
();
}
It is fixed in 4.0.2.1020