Beispiel #1
0
        protected virtual void OnVisibleChanged(bool oldValue, bool newValue)
        {
            if (VisibleChanged != null)
            {
                VisibleChangedEventArgs e = new VisibleChangedEventArgs(this, oldValue, newValue);
                VisibleChanged(e);
            }

            // create new child Sprites for all Sprite instances on this grid
            Sprites.CreateChildSprites(this);
        }
 private void _MatrixVisibleChanged(VisibleChangedEventArgs e)
 {
     // redraw entire Backbuffer
     refreshNeeded = MatrixesRefreshType.All;
     _SetVisibleLayersArray();
 }