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();
 }
예제 #2
0
 private void UpdateLayoutButScrollBar()
 {
     if (ViewInfo.IsValid || IsLockUpdate)
     {
         return;
     }
     FitColumns();
     ViewInfo.CalcViewInfo();
     //UpdateScrollBars();
     //navigationHelper.UpdateButtons();
     RaiseLayoutUpdated();
 }
예제 #3
0
 private void RefreshValues()
 {
     ViewInfo.CalcViewInfo();
     Invalidate();
 }