Exemple #1
0
 public override void Trigger(List <KeyValuePair <string, string> > semanticsToDict)
 {
     try
     {
         if (semanticsToDict[0].Key == "check for new mail")
         {
             mail.GetFeed();
             ShowMessages messagesForm = new ShowMessages(mail.Entries);
             messagesForm.ShowDialog();
         }
     }
     catch { }
 }
 public override void Trigger(List<KeyValuePair<string, string>> semanticsToDict)
 {
     try
     {
         if (semanticsToDict[0].Key == "check for new mail")
         {
             mail.GetFeed();
             ShowMessages messagesForm = new ShowMessages(mail.Entries);
             messagesForm.ShowDialog();
         }
     }
     catch { }
 }