Hi,When floating the panel, I used the DockVisibilityChanged event to realize this, then if it closed I would close the form, but this time the screen was frozen and then application.quit (not only form)
How to close it properly?
here's my code:
Private Sub f_DocM_DockVisibilityChanged(sender As Object, arg As DockVisibilityChangedEventArgs) Handles f_DocM.DockVisibilityChanged
Panel1.Dispose()
panel2.Dispose()
f_DocM.Dispose()
Me.Close()
End Sub