async void StartAsync() { try { Task t = AppCore.StartAsync(); await t; System.Diagnostics.Debug.WriteLine("Going to navigate"); Frame rootFrame = Window.Current.Content as Frame; rootFrame.Navigate(typeof(UI.HomePage)); } catch { var dialog = new MessageDialog("Could not connect"); await dialog.ShowAsync(); } }
private void UIBtDeleteData_Click(object sender, RoutedEventArgs e) { AppCore.DeleteData(); }