Example #1
0
        private void FillOnOffSettingsGrid()
        {
            wtaTabState FPSettingOnOffState = new wtaTabState();

            FPSettingOnOffState.MySetName      = TagOtherViewsSettingName;
            FPSettingOnOffState.MyOnOffSetBool = WTA_FireP.Properties.Settings.Default.TagOtherViews;
            wtaTStates.Add(FPSettingOnOffState);

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

            default:
                break;
            }
        }