private void button3_Click(object sender, System.EventArgs e) { if (backpropNetwork == null) { MessageBox.Show("Please create the network first!"); return; } if (trainingPatterns == null) { MessageBox.Show("Please create training patterns on STEP 1"); return; } progressBar1.Maximum = aCharsCount; label9.Text = "While the network is training you can proceed to the STEP 4 and observe how the recognition quality progress during the training."; backpropNetwork.Train(trainingPatterns); MessageBox.Show("Network training successfully complete!"); }