pipe-out from dll library

  • Thread starter Thread starter Howard
  • Start date Start date
H

Howard

The program I wrote has two parts. A main program (win forms, UI..)
and a ftp client dll library using TCPclient, this includes methods
such as connect, list, retr, disconnect...
I would like to pipe-out command status from the dll class library to a
text box in the main program.

Console.WriteLine(myCommand);
Console.WriteLine(servResponse);

I currently use Console.WriteLine in the class library and was able to
see the output in the Output Box in visual studio. How can I get that
information to display in the textbox in the main program? (pass that
information from the dll)

Thanks.
 
Back
Top