private void button5_Click(object sender, EventArgs e) { ANNWrapper.SaveBlockToBMP(Application.StartupPath + "\\" + textSubsystemBMP.Text, Double.Parse(textLeft.Text), Double.Parse(textTop.Text), Double.Parse(textRight.Text), Double.Parse(textBottom.Text), Application.StartupPath + "\\" + textToPath.Text); }