Exemple #1
0
 /// <summary>
 /// Enables or disables 'get last played from saves' button if there are any savegames.
 /// </summary>
 private void checkForSaves()
 {
     if (DateFromSavegames.FMHasSaves(fmInstalledPath, savegameFilePath, gameIsT3))
     {
         btnGetLastSaveDate.Enabled = true;
     }
 }
Exemple #2
0
 private void btnGetLastSaveDate_Click(object sender, EventArgs e)
 {
     chkNotPlayed.Checked = false;
     dtLastPlayed.Value   = DateFromSavegames.MostRecentSavegame(fmInstalledPath, savegameFilePath, gameIsT3);
 }