Пример #1
0
 private void MController_AutoPowerOffTimeChanged(IPenClient sender, SimpleResultEventArgs args)
 {
     if (isTest)
     {
         return;
     }
     _controller?.RequestPenStatus();
 }
Пример #2
0
 private void MController_BeepSoundChanged(IPenClient sender, SimpleResultEventArgs args)
 {
     if (isTest)
     {
         return;
     }
     _controller?.RequestPenStatus();
 }
Пример #3
0
 private void _controller_PenColorChanged(IPenClient sender, SimpleResultEventArgs args)
 {
     lastStatusResultArgs = args;
     autoResetEvent.Set();
 }
Пример #4
0
 private void MController_AutoPowerOnChanged(IPenClient sender, SimpleResultEventArgs args)
 {
     _controller?.RequestPenStatus();
 }
Пример #5
0
 private void MController_SensitivityChanged(IPenClient sender, SimpleResultEventArgs args)
 {
     _controller?.RequestPenStatus();
 }
Пример #6
0
 private void MController_PasswordChanged(IPenClient sender, SimpleResultEventArgs args)
 {
     ShowToast("Changing password is " + (args.Result ? "complete" : "failure"));
 }
Пример #7
0
 private async void MController_OfflineDownloadFinished(IPenClient sender, SimpleResultEventArgs args)
 {
     _controller.RequestOfflineDataList();
     await this.Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () => _progressDialog.Hide());
 }
Пример #8
0
 private async void MController_FirmwareInstallationFinished(IPenClient sender, SimpleResultEventArgs args)
 {
     await this.Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () => _progressDialog.Hide());
 }