//------------------------------------------ private void ChkSelection() { if (m_Selection == null) { m_Selection = new TS_Selection(); } m_Selection.ChangeSelectionEvent += ChangeStatus; }
//-------------------------------------------- private void ChkGrid() { if (m_grid == null) { m_CellData = null; m_GridSize = null; m_GridColor = null; m_Selection = null; UseParm = false; } else { m_CellData = m_grid.CellData; m_GridSize = m_grid.GridSize; m_GridColor = m_grid.GridColor; m_Selection = m_grid.Selection; UseParm = true; } ChkCellData(); ChkSelection(); ChkGridColor(); ChkGridSize(); }