예제 #1
0
 //------------------------------------------
 private void ChkSelection()
 {
     if (m_Selection == null)
     {
         m_Selection = new TS_Selection();
     }
     m_Selection.ChangeSelectionEvent += ChangeStatus;
 }
예제 #2
0
 //--------------------------------------------
 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();
 }