At moment I have a MDI Desktop Application developed with 2.0.17 version.
When more form are opened the Application.OpenForms property return corectly all opened forms.
After update to 2.0.28 version the Application.OpenForms property returns only MDI main form opened (Application.OpenForms.Count=1)
The Below code example the show the bug:
Public Class Window1
Private Sub Window1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Dim f1 As New Form
f1.Name = “Form1”
f1.Text = “Form1”
f1.BackColor = Drawing.Color.Blue
f1.MdiParent = Me
Dim f2 As New Form
f2.Name = “Form2”
f2.Text = “Form2”
f2.BackColor = Drawing.Color.Green
f2.MdiParent = Me
Me.Text = “Opened Forms = ” + Application.OpenForms.Count.ToString + ” – WiseJ vers. 2.0.28 ”
Windows1 is the Mdi container form.
Screenshtos attached show theApplication.OpenForms.Count property with 2.0.17 version and after update to 2.0.28 version.
If I open the form without MdiParent it is inserted into the collection.
Seem that not are insert in the collection all forms that are child of then MDI form container.
Thank in advance
Please login first to submit.