Hi Guys!
I have this code:
To fit the child form just within the MdiContainer. Because I don't like this thing -maximizing to the menu strip.
But I want the MaximizeBox really cahanged to the "maximized" symbol. (cascaded windows icon)
Is there anyway to achive this?
Thanks!
I have this code:
Code:
Private Sub ChildForm(sender As Object, e As EventArgs) Handles Me.Resize
If Me.WindowState = FormWindowState.Maximized Then
Me.WindowState = FormWindowState.Normal
Me.Width = Me.MdiParent.Size.Width - 20
Me.Height = Me.MdiParent.Size.Height - 113
Me.Location = New Point(0, 0)
End If
End Sub
But I want the MaximizeBox really cahanged to the "maximized" symbol. (cascaded windows icon)
Is there anyway to achive this?
Thanks!