Bloom.MiscUI.ToastNotifier.ToastNotifier C# (CSharp) Method

ToastNotifier() public method

constructor
public ToastNotifier ( ) : System
return System
        public ToastNotifier()
        {
            InitializeComponent();
            // We do NOT want our window to be the top most; that disables the effect of ShowWithoutActivation
            // and means that the toast steals focus from our main window. Once brought up in front of our
            // window (but not activated) it seems to stay there pretty nicely even while we interact with
            // the window. See BL-1126.
            //TopMost = true;
            // Pop doesn't need to be shown in task bar
            ShowInTaskbar = false;
            // Create and run timer for animation
            _goUpTimer = new Timer();
            _goUpTimer.Interval = 50;
            _goUpTimer.Tick += GoUpTimerTick;
            _goDownTimer = new Timer();
            _goDownTimer.Interval = 50;
            _goDownTimer.Tick += GoDownTimerTick;
            _pauseTimer = new Timer();
            _pauseTimer.Interval = 15000;
            _pauseTimer.Tick += PauseTimerTick;
        }