示例#1
0
 public void NotifyCustom(string title, string message, TimeSpan? timeout)
 {
     var balloon = new CustomBalloon(_taskbarIcon)
                   {
                       Title = title,
                       Message = message,
                   };
     
     //
     // 複数の通知を表示したりとかはできないみたい。
     //
     _taskbarIcon.ShowCustomBalloon(balloon, PopupAnimation.Fade, (int?)timeout?.TotalMilliseconds);
 }
示例#2
0
        public void NotifyCustom(string title, string message, TimeSpan?timeout)
        {
            var balloon = new CustomBalloon(_taskbarIcon)
            {
                Title   = title,
                Message = message,
            };

            //
            // 複数の通知を表示したりとかはできないみたい。
            //
            _taskbarIcon.ShowCustomBalloon(balloon, PopupAnimation.Fade, (int?)timeout?.TotalMilliseconds);
        }