yeah but what I am saying is that you are not using those properties right..
Me.WindowState.Minimized will not evaluate to a boolean like you are trying.. I can tell you are coding without option strict on. I recommend putting it on.
VB Code:
Private MainFormResize(blah blah) If Me.WindowState = FormWindowState.Minimized Then Form1.WindowState = FormWindowState.Minimized Else Form2.WindowState = FormWindowState.Normal End If End Sub
see what i mean




Reply With Quote