Window State In VB.NET

there are three window states , they are Minimize,Maximize,Normal so we can do them with code easily you can add 3 button and you can change the text properties to Minimize,Maximize,Normal and add the codes to them

for minimize button

 Me.WindowState = FormWindowState.Minimized

for maximize button

 Me.WindowState = FormWindowState.Maximized

for normal button

Me.WindowState = FormWindowState.Normal

so thats it




Post a Comment

Note: Only a member of this blog may post a comment.