// constructor
 public NeuralNetworkGUI()
 {
     InitializeComponent();
     neuralNetwork = new NeuralNetwork();
     neuralNetwork.setOutputErrorComponent(errorLabel);
     defaultSettings();
 }
 public void setNeuralNetwork(NeuralNetwork networkArg)
 {
     neuralNetwork = networkArg;
 }