public void AddGenericNotification(Notification n)
 {
     //n.Parent = layout;
     if (n != null)
     {
         NotificationControl c = n.ToControl();
         c.Refresh();
         c.Visible = true;
         c.Parent = layout;
         c.Location = new Point(0, 0);
         c.Size = new Size(c.Width, n.Height);
         layout.SuspendLayout();
         layout.Controls.Add(c);
         layout.ResumeLayout();
     }
     List<Control> l = new List<Control>();
     foreach (Control c2 in layout.Controls) l.Add(c2);
     Height = Math.Min(600, header.Height + l.Sum(e => e.Height) + footer.Height + 50);
 }