Esempio n. 1
0
 private async void OnNetworkError(NetworkController sender, NetworkErrorEventArgs e) {
     EnsureTextVisible();
     MessageTextBox.Text = e.Message;
     await Task.Delay(5000);
     TextFadeOut.Begin();
 }
Esempio n. 2
0
 public DrawPage() {
     this.InitializeComponent();
     networkController = new NetworkController();
     networkController.NetworkError += OnNetworkError;
 }