private void Undelete(string fileName) { if (!winApi.Restore(fileName)) { MessageBox.Show("Could not restore " + fileName + "...", "Undelete Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private static void Undelete(string filePath) { if (!WinApi.Restore(filePath)) { MessageBox.Show(_("Could not restore ") + filePath + "...", _("Undelete Error"), MessageBoxButtons.OK, MessageBoxIcon.Error); } }