Пример #1
0
 private async void Timer_Elapsed(object sender, ElapsedEventArgs e)
 {
     try
     {
         await Task.Run(() => EmailProcessing.ShowPop3Subjects());
     }
     catch (Exception) { }
 }
Пример #2
0
 private void RefreshButton(object sender, RoutedEventArgs e)
 {
     RepopulateInvoices();
     EmailProcessing.ShowPop3Subjects();
 }