Пример #1
0
        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();
            }
        }
Пример #2
0
 private void UIBtDeleteData_Click(object sender, RoutedEventArgs e)
 {
     AppCore.DeleteData();
 }