Пример #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;
        }
Пример #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;
        }