Esempio n. 1
0
 protected override void OnResize(EventArgs e)
 {
     base.OnResize(e);
     if (IsHandleCreated && !_isPanelResizeSuppressed)
     {
         HexgridPanel.SetScrollLimits(MapBoard);
     }
 }
Esempio n. 2
0
 protected override void OnResizeEnd(EventArgs e)
 {
     base.OnResizeEnd(e);
     _isPanelResizeSuppressed = false;
     HexgridPanel.SetScrollLimits(MapBoard);
 }