コード例 #1
0
ファイル: MainPage.xaml.cs プロジェクト: fzach/RemoteControl
        /// <summary>
        /// Handle the btnEcho_Click event by sending text to the echo server
        /// and outputting the response
        /// </summary>

        private async void ShutDown_Tapped(object sender, TappedRoutedEventArgs e)
        {
            bool result = await _controlProtocol.ProcessCommand("Bye");
        }
コード例 #2
0
 private async void VideosLB_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     string item   = (string)this.VideosLB.SelectedItem;
     bool   result = await _controlProtocol.ProcessCommand("PlayMPC:#" + item);
 }