コード例 #1
0
ファイル: FileManagement.cs プロジェクト: elig0n/PhotoSift
 private void Undelete(string fileName)
 {
     if (!winApi.Restore(fileName))
     {
         MessageBox.Show("Could not restore " + fileName + "...", "Undelete Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
コード例 #2
0
 private static void Undelete(string filePath)
 {
     if (!WinApi.Restore(filePath))
     {
         MessageBox.Show(_("Could not restore ") + filePath + "...", _("Undelete Error"), MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }