To restore the child windows from windows menu when clicked below the ArrangeIcons MdiList in VB.Net.
Private Sub frmMain_Resize(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Resize If Me.WindowState = FormWindowState.Normal And sysShowWindowsTaskBar = 0 Then Me.WindowState = FormWindowState.Maximized End If End Sub
In mainform load :
If sysShowWindowsTaskBar = 1 Then Me.WindowState = FormWindowState.Normal Me.Height = Screen.PrimaryScreen.WorkingArea.Height Me.Width = Screen.PrimaryScreen.WorkingArea.Width Me.Location = Screen.PrimaryScreen.WorkingArea.Location Else Me.WindowState = FormWindowState.Maximized End If
But the minimized form on the parent form not restoring on clicking it from the ArrangeIcons
Please give me a solution ASAP.
Thank all in advance.