Beispiel #1
0
        /// <summary>
        /// Raises the LostFocus event.
        /// </summary>
        /// <param name="e">An EventArgs that contains the event data.</param>
        protected override void OnLostFocus(EventArgs e)
        {
            // Cannot process a message for a disposed control
            if (!IsDisposed && !Disposing)
            {
                // Do we have a manager for processing source messages?
                if (ViewManager != null)
                {
                    ViewManager.LostFocus();
                }
            }

            // Let base class fire standard event
            base.OnLostFocus(e);
        }