Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void checkForServer_button_Click(object sender, EventArgs e)
- {
- if (File.Exists(@"C:Users" + system_user + @"DesktopsavedServers*1.txt") == true)
- {
- string server1_location = File.ReadAllText(@"C:Users" + system_user + @"DesktopsavedServers*_SAVEFILE1.txt");
- checkForServer_response.Text = "There are Servers!";
- onlyInfo.Clear();
- onlyInfo.Text = "[CONSOLE] Found existing Server! Found at: " + server1_location;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement