internal void CalcViewInfo()
 {
     using (Graphics graphics = CreateGraphics())
     {
         ViewInfo.CalcViewInfo(graphics);
         ReminderListBox.Bounds = ViewInfo.ItemsRectangle;
         ReminderListBox.CalcButton(graphics);
         EditPanel.Bounds = ViewInfo.ItemsRectangle;
     }
     MinimumSize = new Size(ViewInfo.HeaderTextBounds.Width + HeaderButton.ButtonViewInfo.Bounds.Width, 0);
     ReminderListBox.Invalidate();
 }