private async void ShowDialog_Click(object sender, RoutedEventArgs e)
        {
            ContentDialogExample dialog = new ContentDialogExample();
            await dialog.ShowAsync();

            if (dialog.Result == SignInResult.SignInOK)
            {
                DialogResult.Text = "Dialog result successful.";
            }
            else if (dialog.Result == SignInResult.SignInCancel)
            {
                DialogResult.Text = "Dialog result canceled.";
            }
            else if (dialog.Result == SignInResult.Nothing)
            {
                DialogResult.Text = "Dialog dismissed.";
            }
        }
        private async void ShowDialog_Click(object sender, RoutedEventArgs e)
        {
            ContentDialogExample dialog = new ContentDialogExample();
            var result = await dialog.ShowAsync();

            if (result == ContentDialogResult.Primary)
            {
                DialogResult.Text = "User saved their work";
            }
            else if (result == ContentDialogResult.Secondary)
            {
                DialogResult.Text = "User did not save their work";
            }
            else
            {
                DialogResult.Text = "User cancelled the dialog";
            }
        }
        private async void ShowDialog_Click(object sender, RoutedEventArgs e)
        {
            ContentDialogExample dialog = new ContentDialogExample();
            await dialog.ShowAsync();

            if(dialog.Result == SignInResult.SignInOK)
            {
                DialogResult.Text = "Dialog result successful.";
            }
            else if(dialog.Result == SignInResult.SignInCancel)
            {
                DialogResult.Text = "Dialog result canceled.";
            }
            else if(dialog.Result == SignInResult.Nothing)
            {
                DialogResult.Text = "Dialog dismissed.";
            }
        }