Esempio n. 1
0
        private void Spy_OnStoppedSafe(SpyStoppedArgs args)
        {
            Active    = false;
            CanStart  = true;
            CanAttach = true;
            CanPause  = false;
            CanStop   = false;
            Path      = null;

            if (args.StopType == SpyStopType.Closed)
            {
                _Client = null;
            }
            else if (args.StopType == SpyStopType.Error)
            {
                App.Window.ShowNotification(NotificationType.Error, args.Error);
            }
        }
Esempio n. 2
0
        private void Spy_OnStoppedSafe( SpyStoppedArgs args )
        {
            Active = false;
            CanStart = true;
            CanAttach = true;
            CanPause = false;
            CanStop = false;
            Path = null;

            if ( args.StopType == SpyStopType.Closed )
            {
                _Client = null;
            }
            else if ( args.StopType == SpyStopType.Error )
            {
                App.Window.ShowNotification( NotificationType.Error, args.Error );
            }
        }
Esempio n. 3
0
 private void Spy_OnStopped( SpyStoppedArgs args )
 {
     App.Current.Dispatcher.BeginInvoke( new Action<SpyStoppedArgs>( Spy_OnStoppedSafe ), args );
 }
Esempio n. 4
0
 private void Spy_OnStopped(SpyStoppedArgs args)
 {
     App.Current.Dispatcher.BeginInvoke(new Action <SpyStoppedArgs>(Spy_OnStoppedSafe), args);
 }