To minimize or hide the form with using the buttons,
use
Base Class Events - Closing
Code:
Private Sub frmMain_Closing(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles MyBase.Closing
Me.Hide()
Me.WindowState = FormWindowState.Minimized
e.Cancel = True
End Sub
Instread of (unloads the form) use Me.Hide[/CODE] to hide to screen or
Code:
Me.WindowState = FormWindowState.Minimized
to minimize the window.
Use the to tell the form that its not allowed to shut down 
To exit the application use the
command