public ControlMain()
        {
            String modeString = System.Configuration.ConfigurationManager.AppSettings["TaskPane.ModeControlEnabled"];
            _modeControlEnabled = true;
            if (modeString != null)
            {
                Boolean.TryParse(modeString, out _modeControlEnabled);
            }

            InitializeComponent();
            formPartList = new Forms.FormSwitchSelectedPart();
            formPartList.controlPartList.controlMain = this;
        }
예제 #2
0
        public ControlMain()
        {
            String modeString = System.Configuration.ConfigurationManager.AppSettings["TaskPane.ModeControlEnabled"];

            _modeControlEnabled = true;
            if (modeString != null)
            {
                Boolean.TryParse(modeString, out _modeControlEnabled);
            }

            InitializeComponent();
            formPartList = new Forms.FormSwitchSelectedPart();
            formPartList.controlPartList.controlMain = this;
        }