private async void barButtonItemVersions_ItemClick(object sender, ItemClickEventArgs e) { VersionsForm form = new VersionsForm(applicationControl.Application.Name); form.ShowDialog(); if (form.Version != null) { applicationControl.CurrentVersion = form.Version; await applicationControl.RefreshButtonClicked(); } }