Exemple #1
0
        public MainPage()
        {
            this.InitializeComponent();

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