예제 #1
0
        private void OnVisibilityChanged(object sender, Abstractions.VisibilityChangedEventArgs e)
        {
            if (e.Visible && !this.isVisible)
            {
                this.renderNeeded = true;
            }

            this.isVisible = e.Visible;
        }
예제 #2
0
 private void PlatformWindow_VisibilityChanged(object sender, GameFramework.Abstractions.VisibilityChangedEventArgs e)
 {
     this.isVisible = e.Visible;
 }