packages/Windows API Code Pack 1.1/source/Samples/Shell/StarBackupUsingLibraries/CS/BackupProcessPage.xaml.cs
/// <summary>
/// Gets called when the actual backup process is completed.
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
Gets called when the actual backup process is completed.
Gets called when the actual backup process is completed .
void bw_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
        {
            if (!e.Cancelled)
                buttonStopBackup.Content = "Backup Done!";
            else
                buttonStopBackup.Content = "Backup Cancelled!";
            buttonStopBackup.IsEnabled = false;
        }
void bw_RunWorkerCompleted ( object sender , RunWorkerCompletedEventArgs e ) { if ( ! e . Cancelled ) buttonStopBackup . Content = " " ; else buttonStopBackup . Content = " " ; buttonStopBackup . IsEnabled = false ; }
Gets called when the actual backup process is completed.
Gets called when the actual backup process is completed .
// if finished, change button text to done. // Disable the start backup button as files are already backed up.
sender
object
None
e
RunWorkerCompletedEventArgs
None