Exemplo n.º 1
0
        /// <summary>
        ///     Raise the UserEditComplete event.
        /// </summary>
        private void CheckBox_CheckedChanged(object sender, EventArgs e)
        {
            var chk = sender as CheckBox;

            UserEditComplete?.Invoke(chk, chk.Checked.ToString());
        }
Exemplo n.º 2
0
        /// <summary>
        ///     Raise the UserEditComplete event.
        /// </summary>
        private void TextBox_TextChanged(object sender, EventArgs e)
        {
            var tb = sender as TextBox;

            UserEditComplete?.Invoke(tb, tb.Text);
        }
Exemplo n.º 3
0
 protected virtual void OnUserEditComplete(UserEditCompleteEventArgs e)
 {
     UserEditComplete?.Invoke(this, e);
 }