示例#1
0
        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);
        }
示例#2
0
        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);
        }