Exemple #1
0
 public Notification SendNotification(Constants.Notifications type, string DeviceName)
 {
     return(BackgroundWindow.instance.notificationManager.AddNotification(((string)Constants.NotificationsData[type][0]).Replace("%devicename%", DeviceName), ((string)Constants.NotificationsData[type][1]).Replace("%devicename%", DeviceName), (int)Constants.NotificationsData[type][2]));
 }
Exemple #2
0
 public Notification SendNotification(Constants.Notifications type)
 {
     return(BackgroundWindow.instance.notificationManager.AddNotification((string)Constants.NotificationsData[type][0], (string)Constants.NotificationsData[type][1], (int)Constants.NotificationsData[type][2]));
 }