Пример #1
0
        public MainPage()
        {
            this.InitializeComponent();

            _client = new SocketClient();
            _client.OnDataReceive += Socket_OnDataRecive;
            _client.OnError += Socket_OnError;
        }
Пример #2
0
 private void Socket_OnDataRecive(SocketClient sender, string args)
 {
     txbMessageRecived.Text = args;
 }
Пример #3
0
 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);
 }