private void BackupSvc_ServiceOutputAsync(object sender, ServiceOutputEventArgs e) { Dispatcher.Invoke(() => { StatusLabel.Content = "Backup em andamento, aguarde..."; progressBar.IsIndeterminate = true; StatusBackup.Content = e.Message; }); }
private void RestoreSvc_ServiceOutput(object sender, ServiceOutputEventArgs e) { Dispatcher.Invoke(() => { StatusLabel.Content = "Restauração em andamento, aguarde..."; progressBar.IsIndeterminate = true; StatusRestauracao.Content = e.Message; }); }
private void backupSvc_ServiceOutput(object sender, ServiceOutputEventArgs e) { if (reorganizacao) { EscreveLinhaListBox(listBoxInfoReorganizacao, e.Message); } else { EscreveLinhaListBox(listBoxInfoBackup, e.Message); } }
void ServiceOutput(object sender, ServiceOutputEventArgs e) { Console.WriteLine(e.Message); }
void ServiceOutput(object sender, ServiceOutputEventArgs e) { TestContext.WriteLine(e.Message); }
private void ServiceOutput(object sender, ServiceOutputEventArgs e) { MessageBox.Show(e.Message); Application.DoEvents(); }
static void instance_OutputGenerated(object sender, ServiceOutputEventArgs e) { Console.WriteLine(" --> " + e.Output); }
static void ServiceOutput(object sender, ServiceOutputEventArgs e) { var dummy = e.Message; }
static void ServiceOutput(object sender, ServiceOutputEventArgs e) { result = e.Message; }
private void ServiceOutput(object sender, ServiceOutputEventArgs e) { F_File.LogInformation(e.Message); }
void ServiceOutput(object sender, ServiceOutputEventArgs e) { tb.AppendText(String.Format(e.Message + Environment.NewLine)); Debug.WriteLine(e.Message); }