Exemplo 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);
            }
        }
Exemplo 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 );
            }
        }
Exemplo n.º 3
0
 private void Spy_OnStopped( SpyStoppedArgs args )
 {
     App.Current.Dispatcher.BeginInvoke( new Action<SpyStoppedArgs>( Spy_OnStoppedSafe ), args );
 }
Exemplo n.º 4
0
 private void Spy_OnStopped(SpyStoppedArgs args)
 {
     App.Current.Dispatcher.BeginInvoke(new Action <SpyStoppedArgs>(Spy_OnStoppedSafe), args);
 }