Ejemplo n.º 1
0
 /// <summary>
 ///
 /// </summary>
 protected override void OnEnterKeyPressed()
 {
     if (m_DroppedDown && m_WDatePickerPopUp != null)
     {
         m_WDatePickerPopUp.RaiseSelectionChanged();
         m_WDatePickerPopUp.Close();
     }
     else
     {
         OnDateChanged();
     }
 }
Ejemplo n.º 2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="keyData"></param>
        /// <returns></returns>
        protected override bool ProcessDialogKey(System.Windows.Forms.Keys keyData)
        {
            if (m_DroppedDown)
            {
                m_WDatePickerPopUp.RaiseSelectionChanged();
                m_WDatePickerPopUp.Close();

                return(true);
            }
            else
            {
                return(base.ProcessDialogKey(keyData));
            }
        }