Ejemplo n.º 1
0
 // The bulk of the clean-up code is implemented in Dispose(bool)
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         // free managed resources
         if (_form != null)
         {
             _form.Invoke(new Action(() => _form.Close()));
             _form = null;
         }
         if (_thread != null)
         {
             _thread.Abort();
             _thread = null;
         }
     }
 }
Ejemplo n.º 2
0
 // The bulk of the clean-up code is implemented in Dispose(bool)
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         // free managed resources
         if (_form != null)
         {
             _form.Invoke(new Action(() => _form.Close()));
             _form = null;
         }
         if (_thread != null)
         {
             _thread.Abort();
             _thread = null;
         }
     }
 }
Ejemplo n.º 3
0
 public void Show(NeuralNetwork ann)
 {
     _form = new AnnVisualizerForm(ann);
     _form.Show();
 }
Ejemplo n.º 4
0
 public void Show(NeuralNetwork ann)
 {
     _form = new AnnVisualizerForm(ann);
     _form.Show();
 }