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