SIL.FieldWorks.FieldWorks.BackupProject C# (CSharp) Méthode

BackupProject() static private méthode

Backup the project.
static private BackupProject ( Form dialogOwner, FwApp fwApp ) : string
dialogOwner System.Windows.Forms.Form The dialog owner.
fwApp SIL.FieldWorks.Common.Framework.FwApp The FW application.
Résultat string
		internal static string BackupProject(Form dialogOwner, FwApp fwApp)
		{
			using (BackupProjectDlg dlg = new BackupProjectDlg(Cache,
				GetCommandLineAbbrevForAppName(fwApp.ApplicationName), fwApp))
			{
				if (dlg.ShowDialog(dialogOwner) == DialogResult.OK)
				{
					return dlg.BackupFilePath;
				}
			}
			return null;
		}
FieldWorks