protected virtual void OnMinimized(EventArgs e) { EventHandler handler = Minimized; if (handler != null) { handler(this, e); } }