VB, C#

フォームに表示状態変更イベントを作成する

http://youryella.wankuma.com/Library/Extensions/Form/WindowStateChanged.aspx