Exemplo n.º 1
0
        private void Form1_FormClosed(object sender, FormClosedEventArgs e)
        {
            Program.Thread.Stop((IReactivixThread thread) => {
                ClientThread client = thread as ClientThread;

                Program.Log("Program.close");

                client.Client.Close();
            });
        }
Exemplo n.º 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            Program.Thread.Internal((IReactivixThread thread) => {
                ClientThread client = thread as ClientThread;

                Program.Log("Program.service.test");
                client.Client.Service("/test", new TestServiceDTO()
                {
                    message = textBox1.Text
                });
            });
        }