you must add a new button or add:
Public Class Form2
Public Sub NameMethod()
' minize form
Me.WindowState = FormWindowState.Minimized
End Sub
End Class
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
How to enable the windows minimize to the taskbar animation in a VB.net form with borderstyle set to None?
you must add a new button or add:
Public Class Form2
Public Sub NameMethod()
' minize form
Me.WindowState = FormWindowState.Minimized
End Sub
End Class
Hi @lironlee ,
There are two solutions that can be considered.
FormBorderStyle
back to Sizable just before a Minimize , and then back to none aftewards.Best Regards.
Jiachen Li
----------
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.