Note Event Argument includes id of note updated
Inheritance: System.EventArgs
Beispiel #1
0
 /// <summary>
 /// Handles the Updated event of the note control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
 protected void note_Updated(object sender, NoteEventArgs e)
 {
     if (NotesUpdated != null)
     {
         NotesUpdated(this, e);
     }
 }
Beispiel #2
0
 /// <summary>
 /// Handles the Updated event of the note control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
 protected void note_Updated(object sender, NoteEventArgs e)
 {
     RebuildNotes(true);
     if (NotesUpdated != null)
     {
         NotesUpdated(this, e);
     }
 }
Beispiel #3
0
        /// <summary>
        /// Handles the Click event of the lbAddFamilyMember control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
        protected void note_SaveButtonClick(object sender, NoteEventArgs e)
        {
            EnsureChildControls();
            _noteEditor.Text      = string.Empty;
            _noteEditor.IsAlert   = false;
            _noteEditor.IsPrivate = false;
            _noteEditor.NoteId    = null;

            if (NotesUpdated != null)
            {
                NotesUpdated(this, e);
            }
        }
Beispiel #4
0
 /// <summary>
 /// Handles the Updated event of the note control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
 protected void note_Updated( object sender, NoteEventArgs e )
 {
     RebuildNotes( true );
     if ( NotesUpdated != null )
     {
         NotesUpdated( this, e );
     }
 }
Beispiel #5
0
        /// <summary>
        /// Handles the Click event of the lbAddFamilyMember control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
        protected void note_SaveButtonClick( object sender, NoteEventArgs e )
        {
            EnsureChildControls();
            _noteNew.Text = string.Empty;
            _noteNew.IsAlert = false;
            _noteNew.IsPrivate = false;
            _noteNew.NoteId = null;

            RebuildNotes( true );
            if ( NotesUpdated != null )
            {
                NotesUpdated( this, e );
            }
        }