Пример #1
0
    public static void Main(string[] args)
    {
        Application.Init();
        NotificationBubble b = new NotificationBubble("msg.svg", NotificationSource.File, NotificationContent.Svg);

        b.TimeOut          = 3000;
        b.TimerEndedEvent += TimerEnded;
        b.RenderWithTimer();
        b.ShowAll();
        Application.Run();
    }
Пример #2
0
    public static void Main(string[] args)
    {
        Application.Init();
        NotificationBubble b = new NotificationBubble("http://www.gnome.org", NotificationSource.Url, NotificationContent.Html);

        b.TimeOut          = 10000;
        b.TimerEndedEvent += TimerEnded;
        b.BubbleWidth      = 600;
        b.BubbleHeight     = 80;
        b.Move(5, 30);
        b.RenderWithTimer();
        b.ShowAll();
        Application.Run();
    }