private void InitPattern(eScrollPattern patternType) { switch (patternType) { case eScrollPattern.VerticalDown: { m_pattern = new ScrollDownPattern(); } break; case eScrollPattern.VerticalUp: { m_pattern = new ScrollUpPattern(); } break; case eScrollPattern.Horizontal: { m_pattern = new ScrollLeftPattern(); } break; } }
private void InitPattern() { m_pattern = new ScrollGridPattern(); }