示例#1
0
 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);
     }
 }