public void RedownloadDefs(object sender, RoutedEventArgs e) { var res = MessageBox.Show("Do you want to redownload definition files from the repo? This will override all local changes.", "FFXIVMon Reborn", MessageBoxButton.OKCancel, MessageBoxImage.Question); if (res == MessageBoxResult.OK) { VersioningProvider.ForceReset(); ((XivMonTab)MainTabControl.SelectedContent).ReloadDb(); MessageBox.Show($"Definitions downloaded.", "FFXIVMon Reborn", MessageBoxButton.OK, MessageBoxImage.Asterisk); } }