Originally Posted by uDev
Giving you the whole function won't really do much to you.
Note that I have done a few changes to it, but the same 'bug' will still occur.
private async void TabControl_SelectionChanged(object sender, SelectionChangedEventArgs e)
var item = sender as TabControl;
if (item.SelectedIndex == 1)
Exception exception = null;
catch (Exception ex)
exception = ex;
if (exception != null)
await this.ShowMessageAsync("Error", exception.ToString());
foreach (CharTitlesEntry t in DBCStores.CharTitles.Records)
Btw, vb.net is a shitty language, don't recommend that to anyone.