//------------------------------------------------- protected override void OnResize(EventArgs e) { base.OnResize(e); if (UseParm == false) { m_GridSize.SetSize(this.Size, m_CellData); } this.Invalidate(); }
//------------------------------------------------- private void ChkMinMax() { this.MinimumSize = new Size(m_GridSize.CellWidth * 6, m_GridSize.CellHeight * 6); this.MaximumSize = new Size(m_GridSize.CellWidth * m_CellData.LayerCount, m_GridSize.CellHeight * m_CellData.FrameCount); m_GridSize.SetSize(this.Size, m_CellData); }