private void OnSelectionChange() { if ((this.m_Mode == Mode.AreaSettings) || (this.m_Mode == Mode.Visualization)) { base.Repaint(); } }