Ejemplo n.º 1
0
        public MainPage()
        {
            this.InitializeComponent();

            _client = new SocketClient();
            _client.OnDataReceive += Socket_OnDataRecive;
            _client.OnError += Socket_OnError;
        }
Ejemplo n.º 2
0
 private void Socket_OnDataRecive(SocketClient sender, string args)
 {
     txbMessageRecived.Text = args;
 }
Ejemplo n.º 3
0
 private void Socket_OnError(SocketClient sender, string args)
 {
     NotifyUser(args);
 }
Ejemplo n.º 4
0
 private void Socket_OnDataRecive(SocketClient sender, string args)
 {
     txbMessageRecived.Text = args;
 }
Ejemplo n.º 5
0
 private void Socket_OnError(SocketClient sender, string args)
 {
     NotifyUser(args);
 }