Exemplo n.º 1
0
        public NotificationPopup()
        {
            notificationsForm = new NotificationsForm(notificationList);
            InitializeComponent();

            Opacity = 0;

            fadeTimer = new Timer { Interval = 100 };

            btnNewest.Click += OnNewestClick;
            btnNewer.Click += OnNewerClick;
            btnOlder.Click += OnOlderClick;
            btnOldest.Click += OnOldestClick;
            btnXofY.Click += OnXofYClick;

            Disposed += OnDisposed;
        }
Exemplo n.º 2
0
        public NotificationPopup()
        {
            notificationsForm = new NotificationsForm(notificationList);
            InitializeComponent();

            Opacity = 0;

            fadeTimer = new Timer {
                Interval = 100
            };

            btnNewest.Click += OnNewestClick;
            btnNewer.Click  += OnNewerClick;
            btnOlder.Click  += OnOlderClick;
            btnOldest.Click += OnOldestClick;
            btnXofY.Click   += OnXofYClick;

            Disposed += OnDisposed;
        }