static private RestoreProject ( |
||
dialogOwner | The dialog owner. | |
fwApp | The FieldWorks application. | |
Résultat | void |
internal static void RestoreProject(Form dialogOwner, FwApp fwApp)
{
string databaseName = (Cache != null) ? Cache.ProjectId.Name : string.Empty;
using (RestoreProjectDlg dlg = new RestoreProjectDlg(databaseName, fwApp.ApplicationName, fwApp))
{
if (dlg.ShowDialog(dialogOwner) != DialogResult.OK)
return;
HandleRestoreRequest(dialogOwner, new FwRestoreProjectSettings(GetCommandLineAbbrevForAppName(fwApp.ApplicationName),
dlg.Settings));
}
}
FieldWorks::RestoreProject ( |