CK.WindowManager.Model.WindowManagerSubscriber.WindowBinder_ServiceStatusChanged C# (CSharp) Method

WindowBinder_ServiceStatusChanged() protected method

protected WindowBinder_ServiceStatusChanged ( object sender, CK.Plugin.ServiceStatusChangedEventArgs e ) : void
sender object
e CK.Plugin.ServiceStatusChangedEventArgs
return void
        protected void WindowBinder_ServiceStatusChanged( object sender, ServiceStatusChangedEventArgs e )
        {
            if( e.Current == InternalRunningStatus.Started )
            {
                RegisterWindowBinder();
            }
            else if( e.Current == InternalRunningStatus.Stopping )
            {
                UnregisterWindowBinder();
            }
            else if( e.Current == InternalRunningStatus.Stopped )
            {
                if( OnBinderStopped != null ) OnBinderStopped();
            }
        }