Exemple #1
0
 /// ------------------------------------------------------------------------------------
 /// <summary>
 ///
 /// </summary>
 /// ------------------------------------------------------------------------------------
 public static void Backup()
 {
     using (BackupDlg dlg = new BackupDlg())
     {
         try
         {
             if (!string.IsNullOrEmpty(dlg.m_backupFile))
             {
                 dlg.ShowDialog(PaApp.MainForm);
             }
         }
         catch { }
     }
 }
 /// ------------------------------------------------------------------------------------
 /// <summary>
 ///
 /// </summary>
 /// ------------------------------------------------------------------------------------
 protected bool OnBackupProject(object args)
 {
     BackupDlg.Backup();
     return(true);
 }