void bid(String bind, String path) { String[] resultstring = { bind, path }; if (fol == true) { File.AppendAllLines("file.txt", resultstring); } My_Friend obj = new My_Friend(); obj.Show(); this.Close(); }