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