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); } }
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); } }