public void SetHighlight(Version previousVersion) { if(previousVersion == null) return; UserControl infoControl = null; if(previousVersion < new Version(0, 13, 18)) infoControl = new CardThemesInfo(); if(infoControl == null) return; ContentControlHighlight.Content = infoControl; TabControl.SelectedIndex = 1; }
public void SetHighlight(Version previousVersion) { if(previousVersion == null) return; UserControl infoControl = null; if(previousVersion < new Version(0, 13, 18)) infoControl = new CardThemesInfo(); #if(!SQUIRREL) if(previousVersion < new Version(0, 15, 14) && Config.Instance.SaveConfigInAppData != false && Config.Instance.SaveDataInAppData != false) { ContentControlHighlight.Content = new SquirrelInfo(); ButtonContinue.Visibility = Visibility.Collapsed; _continueToHighlight = true; return; } #endif if(infoControl == null) return; ContentControlHighlight.Content = infoControl; TabControl.SelectedIndex = 1; }