Пример #1
0
 //Folder/revert from backup
 private void RevertFromBackupToolStripMenuItem_Click(Object sender, EventArgs e)
 {
     if (MessageBox.Show("This option will revert all converted DDS to their original format in the selected folder, if a backup file is available. Continue?", "Are you sure?", MessageBoxButtons.YesNo) == DialogResult.Yes)
     {
         PB_main.Visible     = true;
         lbl_PBInfos.Visible = true;
         lbl_PBInfos.Text    = "";
         PB_main.Value       = 0;
         FolderLoader.BackupFiles(loadedFolder);
         PB_main.Visible     = false;
         lbl_PBInfos.Visible = false;
     }
 }