Example #1
0
File: Images.cs Project: Nucs/nlib
 public static void Load() {
     Welcome = new ToastImage(new BitmapImage(new Uri("/nucs.Toaster;component/Resources/Welcome.png", UriKind.RelativeOrAbsolute)));
     SuccessThumbs = new ToastImage(new BitmapImage(new Uri("/nucs.Toaster;component/Resources/Downloading.png", UriKind.RelativeOrAbsolute)));
     BrokenThumbs = new ToastImage(new BitmapImage(new Uri("/nucs.Toaster;component/Resources/Failed.png", UriKind.RelativeOrAbsolute)));
     Finished = new ToastImage(new BitmapImage(new Uri("/nucs.Toaster;component/Resources/Finished.png", UriKind.RelativeOrAbsolute)));
     Info = new ToastImage(new BitmapImage(new Uri("/nucs.Toaster;component/Resources/Info.png", UriKind.RelativeOrAbsolute)));
 }
Example #2
0
File: Images.cs Project: Nucs/nlib
 public static void Load()
 {
     Welcome       = new ToastImage(new BitmapImage(new Uri("/nucs.Toaster;component/Resources/Welcome.png", UriKind.RelativeOrAbsolute)));
     SuccessThumbs = new ToastImage(new BitmapImage(new Uri("/nucs.Toaster;component/Resources/Downloading.png", UriKind.RelativeOrAbsolute)));
     BrokenThumbs  = new ToastImage(new BitmapImage(new Uri("/nucs.Toaster;component/Resources/Failed.png", UriKind.RelativeOrAbsolute)));
     Finished      = new ToastImage(new BitmapImage(new Uri("/nucs.Toaster;component/Resources/Finished.png", UriKind.RelativeOrAbsolute)));
     Info          = new ToastImage(new BitmapImage(new Uri("/nucs.Toaster;component/Resources/Info.png", UriKind.RelativeOrAbsolute)));
     Mobile        = new ToastImage(new BitmapImage(new Uri("/nucs.Toaster;component/Resources/Mobile.png", UriKind.RelativeOrAbsolute)));
 }
Example #3
0
File: Toaster.cs Project: Nucs/nlib
 /// <summary>
 ///     Sends a toast
 /// </summary>
 public static void Add(string title, string message, ToastImage image) {
     Add(title, message, image?.Image);
 }