Example #1
0
		private SplitterPainter GetPainter()
		{
			if(m_Painter==null)
			{
				switch(m_Style)
				{
					case eSplitterStyle.Office2003:
                    case eSplitterStyle.Office2007:
					{
						m_Painter=new SplitterOffice2003Painter();
						break;
					}
					case eSplitterStyle.Mozilla:
					{
						m_Painter=new SplitterMozillaPainter();
						break;
					}
				}
			}
			return m_Painter;
		}
Example #2
0
		private void OnStyleChanged()
		{
			m_Painter=null;
			this.Invalidate();
		}