private void loadControls() { string sStartUpTab = CMedToolsSubs.readRegKey(Microsoft.Win32.Registry.LocalMachine, "SOFTWARE\\City of Medford", "AddLayersTab"); //SOFTWARE\\City of Medford Control ctl = returnNewControl(sStartUpTab); m_CurrentControl = ctl; ToolStripButton tsb = setToolStripButton(sStartUpTab); m_CurrentClickedButton = tsb; doButtonChange(tsb); }
private void fmAddLayers_Load(object sender, EventArgs e) { if (!SConst.EnableEditorControl) { tsbEditor.Visible = false; } string sStartUpTab = CMedToolsSubs.readRegKey(Microsoft.Win32.Registry.LocalMachine, "SOFTWARE\\City of Medford", "AddLayersTab"); //SOFTWARE\\City of Medford Control ctl = returnNewControl(sStartUpTab); m_CurrentControl = ctl; ToolStripButton tsb = setToolStripButton(sStartUpTab); m_CurrentClickedButton = tsb; doButtonChange(tsb); }