/// <summary> /// Raise the GotFocus event /// </summary> /// <param name="eventArgs"></param> protected virtual void OnGotFocus(GotFocusEventArgs eventArgs) { EventHandler<GotFocusEventArgs> handler = GotFocus; if (handler != null) { handler(this, eventArgs); } }
/// <summary> /// Handles the GotFocus event /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void HandlePasswordPresenationGotFocus(object sender, GotFocusEventArgs e) { OnGotFocus(e); }