示例#1
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="nnAPI">Red a monitorear</param>
        /// <param name="taskName">Nombre de la tarea a monitorear</param>
        public frmProgress(NeuralNetworkAPI nnAPI, string taskName = "Progreso")
        {
            InitializeComponent();

            this.Text = taskName;
            this.nnAPI = nnAPI;
            this.nnAPI.RegisterProgressChangedDel(progressChangedDelegate);
        }
示例#2
0
 // Crea una nueva instancia de red neuronal
 private void crearNuevaToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (var createNNForm = new frmCreanteNN())
     {
         var result = createNNForm.ShowDialog();
         if (result == DialogResult.OK)
         {
             this.nnAPI = createNNForm.ReturnNN;
             this.updateDisplayData();
             this.patronesToolStripMenuItem.Enabled = true;
         }
     }
 }