示例#1
0
 //------------------------------------------
 private void ChkGridSize()
 {
     if (m_GridSize == null)
     {
         m_GridSize = new TS_GridSize();
     }
     SizeFix();
     m_GridSize.ChangeGridSize += M_GridSize_ChangeGridSize;
 }
示例#2
0
 //------------------------------------------
 private void ChkGridSize()
 {
     if (m_GridSize == null)
     {
         m_GridSize = new TS_GridSize();
     }
     ChkMinMax();
     m_GridSize.ChangeGridSize += ChangeStatus;
     m_GridSize.ChangeDisp     += ChangeStatus;
 }
示例#3
0
 //------------------------------------------
 private void ChkGrid()
 {
     if (m_grid == null)
     {
         m_CellData  = null;
         m_GridSize  = null;
         m_GridColor = null;
     }
     else
     {
         m_CellData  = m_grid.CellData;
         m_GridSize  = m_grid.GridSize;
         m_GridColor = m_grid.GridColor;
     }
     ChkGridSize();
     ChkGridColor();
 }
示例#4
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();
 }