Exemplo n.º 1
0
 private void ServerBoy()
 {
     new Thread(new ThreadStart(() =>
     {
         TextBoxStreamWriter t = new TextBoxStreamWriter(this.Dispatcher, ServerOutputField);
         VenturaFTPClassName v = new VenturaFTPClassName();
         v.GetStringFromGuy();
         t.Close();
     })).Start();
 }
Exemplo n.º 2
0
        private void ClientBoy()
        {
            TextBoxStreamWriter t = new TextBoxStreamWriter(this.Dispatcher, ClientOutputField);

            Console.WriteLine("sendin");
            //set stdout to go to textbox
            VenturaFTPClassName v = new VenturaFTPClassName();

            v.SendStringToGuy();
            t.Close();
        }