Exemple #1
0
 public static void Toast(
     Window owner,
     string title = "Info",
     string message = "Something you may notice.",
     ToasterPosition position = ToasterPosition.PrimaryScreenTopRight,
     ToasterAnimation animation = ToasterAnimation.SlideInFromRight,
     double margin = 10.0)
 {
     var toaster = new InfoToaster(owner, title, message, position, animation, margin);
     toaster.Show();
 }
Exemple #2
0
        public static void Toast(
            Window owner,
            string title               = "Info",
            string message             = "Something you may notice.",
            ToasterPosition position   = ToasterPosition.PrimaryScreenTopRight,
            ToasterAnimation animation = ToasterAnimation.SlideInFromRight,
            double margin              = 10.0)
        {
            var toaster = new InfoToaster(owner, title, message, position, animation, margin);

            toaster.Show();
        }