Esempio n. 1
0
        private void ButSendMessage_Click(object sender, RoutedEventArgs e)
        {
            StringDialog wndPair =
                new StringDialog("Debug Message", "Enter the message you want to send to the peripheral.");

            if (wndPair.ShowDialog().GetValueOrDefault(false))
            {
                _viewModel.SendMessage(wndPair.Result);
            }
        }