Пример #1
0
 /// <summary>
 /// Functions used when the validating operation is finished
 /// </summary>
 /// <param name="e"></param>
 protected virtual void OnValidated(CellContextEventArgs e)
 {
     if (m_Validated != null)
     {
         m_Validated(this, e);
     }
 }
Пример #2
0
        //TODO: Remove OnValidated and OnValidating methods. For a better user experience (focus, validating, ...) must be used the validating event of the Control. The cell simply check if the value is valid but cannot handle correctly the user interface.

		/// <summary>
		/// Functions used when the validating operation is finished
		/// </summary>
		/// <param name="e"></param>
        protected void OnValidated(CellContextEventArgs e)
		{
			if (m_Validated!=null)
				m_Validated(this,e);
		}