private void EhLayerToolbar_ButtonClick(object sender, System.Windows.Forms.ToolBarButtonClickEventArgs e) { if (null != m_Ctrl) { int pushedLayerNumber = System.Convert.ToInt32(e.Button.Text); m_Ctrl.EhView_CurrentLayerChoosen(pushedLayerNumber, false); } }