void Worker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) { //SyncChanges(); ArchivalProgBar.IsIndeterminate = false; if (pmsutil.CheckArchiveDrive(path) != "dc") { if (stat_code2 > 0) { arc.SyncRegisters(); arc.SyncArcRegisters(); MsgSuccess(); } else { MsgFail(); } } else { MsgFail(); } }