Note Event Argument includes id of note updated
Inheritance: System.EventArgs
Exemplo n.º 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);
     }
 }
Exemplo n.º 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);
     }
 }
Exemplo n.º 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);
            }
        }
Exemplo n.º 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 );
     }
 }
Exemplo n.º 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 );
            }
        }