Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. private void checkForServer_button_Click(object sender, EventArgs e)
  2. {
  3. if (File.Exists(@"C:Users" + system_user + @"DesktopsavedServers*1.txt") == true)
  4. {
  5. string server1_location = File.ReadAllText(@"C:Users" + system_user + @"DesktopsavedServers*_SAVEFILE1.txt");
  6. checkForServer_response.Text = "There are Servers!";
  7. onlyInfo.Clear();
  8. onlyInfo.Text = "[CONSOLE] Found existing Server! Found at: " + server1_location;
  9. }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement