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