Пример #1
0
 public static void Inform(string title,string text)
 {
     try{
         IconSummaryBody notif= new IconSummaryBody();
         if(MainClass.configuration.Get_ShowNotif()) notif.ShowMessage(title,text);
     }
     catch{
         Console.WriteLine("System don't support notification");
         Console.WriteLine(title+" : "+text);
     }
 }
Пример #2
0
 private static void Inform(string title,string text)
 {
     try{
             IconSummaryBody notif= new IconSummaryBody();
             notif.ShowMessage(title,text);
         }
         catch{
             Console.WriteLine("System don't support notification");
             Console.WriteLine(title+" : "+text);
         }
 }