Exemple #1
0
        public void Trigger(string html, int width, int height)
        {
            if (screenshot != null)
            {
                return;
            }

            screenshot = new FormNotificationScreenshotable(Callback, owner)
            {
                CanMoveWindow = () => false
            };

            screenshot.LoadNotificationForScreenshot(new TweetNotification(string.Empty, html, 0, string.Empty, string.Empty), width, height);
            screenshot.Show();
            timeout.Start();
        }
Exemple #2
0
 public void Trigger(string html, int width, int height)
 {
     screenshot.LoadNotificationForScreenshot(new TweetNotification(html, string.Empty, 0), width, height);
     screenshot.Show();
     timeout.Start();
 }