public void CreateDefaultProfile()
        {
            MCProfile importProfile = new MCProfile(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\.minecraft", "default");
            string defaultInstall = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\.minecraft";

            if (Directory.Exists(defaultInstall))
            {
                MessageBox.Show("Importing your existing Minecraft install to the Jetset Minecraft Manager folder. Enter a name for this profile at the prompt.");
                Window newProfileWindow = new NewProfileWindow("Name Profile", "Profile name:", "Import", "Default", importProfile);
                newProfileWindow.ShowDialog();

            }
            else
            {
                MessageBox.Show("No existing Minecraft install found! Go to http:\\www.minecraft.net and buy and/or install Minecraft!", "Why did you even download this app?");
                Environment.Exit(0);
            }
        }
 public void RenameProfile()
 {
     Window newProfileWindow = new NewProfileWindow("Rename Profile", "New name:", "Rename", "Rename", SelectedProfile);
     newProfileWindow.ShowDialog();
     GetProfiles();
 }
 public void CopyProfile()
 {
     Window newProfileWindow = new NewProfileWindow("Copy Profile", "Copy name:", "Copy", "Copy", SelectedProfile);
     newProfileWindow.ShowDialog();
     GetProfiles();
 }
 public void NewProfile()
 {
     Window newProfileWindow = new NewProfileWindow("New Profile", "Profile name:", "Create", "New", SelectedProfile);
     newProfileWindow.ShowDialog();
     GetProfiles();
 }