示例#1
0
 /// <summary>
 /// Removes a delegate previously added or set by AddFocusDelegate()
 /// or SetFocusDelegate().
 /// </summary>
 /// <param name="del">The delegate to be removed.</param>
 public void RemoveFocusDelegate(FocusDelegate del)
 {
     focusDelegate -= del;
 }
示例#2
0
 /// <summary>
 /// Sets the delegate to be called when the field receives the focus
 /// as determined by the customFocusEvent setting.
 /// NOTE: This will unset any previously assigned focus delegate.
 /// </summary>
 /// <param name="del">The delegate to be called.</param>
 public void SetFocusDelegate(FocusDelegate del)
 {
     focusDelegate = del;
 }
示例#3
0
 /// <summary>
 /// Adds a delegate to be called when the field receives the focus
 /// as determined by the customFocusEvent setting.
 /// </summary>
 /// <param name="del">The delegate to be called.</param>
 public void AddFocusDelegate(FocusDelegate del)
 {
     focusDelegate += del;
 }
	/// <summary>
	/// Removes a delegate previously added or set by AddFocusDelegate()
	/// or SetFocusDelegate().
	/// </summary>
	/// <param name="del">The delegate to be removed.</param>
	public void RemoveFocusDelegate(FocusDelegate del)
	{
		focusDelegate -= del;
	}
	/// <summary>
	/// Adds a delegate to be called when the field receives the focus
	/// as determined by the customFocusEvent setting.
	/// </summary>
	/// <param name="del">The delegate to be called.</param>
	public void AddFocusDelegate(FocusDelegate del)
	{
		focusDelegate += del;
	}
	/// <summary>
	/// Sets the delegate to be called when the field receives the focus
	/// as determined by the customFocusEvent setting.
	/// NOTE: This will unset any previously assigned focus delegate.
	/// </summary>
	/// <param name="del">The delegate to be called.</param>
	public void SetFocusDelegate(FocusDelegate del)
	{
		focusDelegate = del;
	}
示例#7
0
 public FocusCommand(FocusDelegate del)
 {
     _del = del;
 }
示例#8
0
 //---------------------------------------------------------
 public void RegisterFocusDelegate(FocusDelegate f)
 {
     //m_FocusDelegate = f;
 }