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