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