protected virtual void OnPanStart(CancelEventArgs e) { EventHandler handler; handler = PanStart; if (handler != null) { handler(this, e); } }