/// ------------------------------------------------------------------------------------ /// <summary> /// /// </summary> /// ------------------------------------------------------------------------------------ public static void Restore() { string zipFile = PaApp.OpenFileDialog("zip", Properties.Resources.kstidFileTypesForOFD, Properties.Resources.kstidRestoreOFDCaption); if (string.IsNullOrEmpty(zipFile) || !File.Exists(zipFile)) { return; } try { using (RestoreDlg dlg = new RestoreDlg(zipFile)) dlg.ShowDialog(PaApp.MainForm); } catch { } }
/// ------------------------------------------------------------------------------------ /// <summary> /// /// </summary> /// ------------------------------------------------------------------------------------ protected bool OnRestoreProject(object args) { RestoreDlg.Restore(); return(true); }