コード例 #1
0
        private void FillOnOffSettingsGrid()
        {
            wtaTabState TCOMSettingOnOffState = new wtaTabState();

            TCOMSettingOnOffState.MySetName      = TagOtherViewsSettingName;
            TCOMSettingOnOffState.MyOnOffSetBool = WTA_TCOM.Properties.Settings.Default.TagOtherViews;
            wtaTStates.Add(TCOMSettingOnOffState);

            RootSearchPath.Text         = WTA_TCOM.Properties.Settings.Default.RootSearchPath;
            TabsControlGrid.ItemsSource = wtaTStates;
        }
コード例 #2
0
        public void SaveUserPref(wtaTabState wtaTabState)
        {
            switch (wtaTabState.MySetName)
            {
            case "TagOtherViews":
                WTA_TCOM.Properties.Settings.Default.TagOtherViews = wtaTabState.MyOnOffSetBool;
                break;

            default:
                break;
            }
        }