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; }
public void SaveUserPref(wtaTabState wtaTabState) { switch (wtaTabState.MySetName) { case "TagOtherViews": WTA_FireP.Properties.Settings.Default.TagOtherViews = wtaTabState.MyOnOffSetBool; break; default: break; } }