コード例 #1
0
ファイル: MainPage.xaml.cs プロジェクト: lillo42/IoT
        public MainPage()
        {
            this.InitializeComponent();

            _client = new SocketClient();
            _client.OnDataReceive += Socket_OnDataRecive;
            _client.OnError += Socket_OnError;
        }
コード例 #2
0
ファイル: MainPage.xaml.cs プロジェクト: lillo42/IoT
 private void Socket_OnDataRecive(SocketClient sender, string args)
 {
     txbMessageRecived.Text = args;
 }
コード例 #3
0
ファイル: MainPage.xaml.cs プロジェクト: lillo42/IoT
 private void Socket_OnError(SocketClient sender, string args)
 {
     NotifyUser(args);
 }
コード例 #4
0
 private void Socket_OnDataRecive(SocketClient sender, string args)
 {
     txbMessageRecived.Text = args;
 }
コード例 #5
0
 private void Socket_OnError(SocketClient sender, string args)
 {
     NotifyUser(args);
 }