Exemple #1
0
 /// <summary>
 /// Method to call when a frame is modified in the log
 /// </summary>
 protected virtual void OnFrameModified()
 {
     if (FrameModified != null)
     {
         FrameModified.Invoke(this, new EventArgs());
     }
 }
Exemple #2
0
        /// <summary>
        /// Internal method to call frame modified
        /// </summary>
        internal void OnModified()
        {
            if (FrameModified != null)
            {
                FrameModified.Invoke(this, new EventArgs());
            }
            _hash          = null;
            _length        = -1;
            _displayString = null;

            if ((_root != null) && (Current.Frame != this))
            {
                // Current is no longer in this frame, set it to root
                Current = Root;
            }
        }