void Window1_Loaded(object sender, RoutedEventArgs e) { m_job = new BackupJob(); m_job.StatusChanged += new EventHandler(job_StatusChanged); }