Beispiel #1
0
 private void OnAutoSizeChanged(EventArgs e)
 {
     TextureValid = false;
     if (AutoSizeChanged != null)
     {
         AutoSizeChanged.Invoke(this, e);
     }
 }
Beispiel #2
0
        /// <summary>
        /// Raises the AutoSizeChanged event.
        /// </summary>
        /// <param name="e">An EventArgs containing the event data.</param>
        protected override void OnAutoSizeChanged(EventArgs e)
        {
            AutoSizeChanged?.Invoke(this, e);

            base.OnAutoSizeChanged(e);
        }