e.Form.BaseForm.WindowState = System.Windows.Forms.FormWindowState.MINimized \'窗口最小化
If e.Form.BaseForm.WindowState = System.Windows.Forms.FormWindowState.Maximized Then
e.Form.BaseForm.WindowState = System.Windows.Forms.FormWindowState.Normal
\'e.Sender.Text = "最大化"
e.Sender.Image = GetImage("btn_dlg_maximize_c.png")
Else
e.Form.BaseForm.WindowState = System.Windows.Forms.FormWindowState.Maximized
\'e.Sender.Text = "还原"
e.Sender.Image = GetImage("btn_dlg_restore_c.png")
End If