private void button4_Click(object sender, EventArgs e) { //DirectoryInfo Dir = new DirectoryInfo(Application.StartupPath + "\\"); //foreach (FileInfo f in Dir.GetFiles("*Capture.bmp")) //{ // textInputBMP.Text = f.Name; ANNWrapper.RevertBlackWhiteBMP(Application.StartupPath + "\\" + textInputBMP.Text); //} }