18 lines
429 B
C#
18 lines
429 B
C#
using Avalonia.Controls;
|
|
using Ursa.Controls;
|
|
|
|
namespace Ursa.Demo.Pages;
|
|
|
|
public partial class VerificationCodeDemo : UserControl
|
|
{
|
|
public VerificationCodeDemo()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private async void VerificationCode_OnComplete(object? _, VerificationCodeCompleteEventArgs e)
|
|
{
|
|
var text = string.Join(string.Empty, e.Code);
|
|
await MessageBox.ShowOverlayAsync(text);
|
|
}
|
|
} |