SilverFlow.Controls.FloatingWindow.ActiveWindowChanged C# (CSharp) Method

ActiveWindowChanged() private method

Handles the ActiveWindowChanged event of the Host control.
private ActiveWindowChanged ( object sender, ActiveWindowChangedEventArgs e ) : void
sender object The sender.
e ActiveWindowChangedEventArgs The instance containing the event data.
return void
        private void ActiveWindowChanged(object sender, ActiveWindowChangedEventArgs e)
        {
            if (e.Old == this)
                OnDeactivated(EventArgs.Empty);

            if (e.New == this)
                OnActivated(EventArgs.Empty);
        }
FloatingWindow