public MonitorReputationNotificator(Reputation reputation)
 {
     switch (reputation.Type) {
     case "answer":
       if (reputation.PositiveRep % 10 != 0) _noofelements++;
       if (reputation.PositiveRep > 0 && reputation.PositiveRep != 15) _noofelements++;
       if (reputation.NegativeRep > 0) _noofelements++;
       break;
     case "question":
       if (reputation.PositiveRep > 0) _noofelements++;
       if (reputation.NegativeRep > 0) _noofelements++;
       break;
       }
       InitializeComponent(70 + (30 * _noofelements));
       SetWindowPos(this.Handle, HWND_TOPMOST, 0, 0, 0, 0, SetWindowPosFlags.SWP_NOSIZE | SetWindowPosFlags.SWP_NOACTIVATE);
       TransparencyKey = Color.HotPink;
       _reputation = reputation;
       GenerateFormImage(reputation);
       animator = new MonitorAnimator(this);
       animator.ScrollUp();
       if (_displayTime > 0)
       {
     _closeTimer.Interval = _displayTime;
     _closeTimer.Tick += _closeTimer_Tick;
     _closeTimer.Start();
       }
 }
 public MonitorBadgeNotificator(Badge badge)
 {
     InitializeComponent();
       SetWindowPos(Handle, HWND_TOPMOST, 0, 0, 0, 0, SetWindowPosFlags.SWP_NOSIZE | SetWindowPosFlags.SWP_NOACTIVATE);
       TransparencyKey = Color.HotPink;
       GenerateFormImage(badge);
       animator = new MonitorAnimator(this);
       animator.ScrollUp();
       if (_displayTime > 0)
       {
     _closeTimer.Interval = _displayTime;
     _closeTimer.Tick += new EventHandler(_closeTimer_Tick);
     _closeTimer.Start();
       }
 }