Esempio n. 1
0
 public ControlWriter(ServerForm textbox)
 {
     this.textbox = textbox;
 }
Esempio n. 2
0
 /// <summary>
 /// Construct server with given port.
 /// </summary>
 /// <param name="path">Directory path to serve.</param>
 /// <param name="port">Port of the server.</param>
 /// <param name="serverForm"></param>
 public HTTPServer(string path, int port, ServerForm serverForm)
 {
     _serverForm = serverForm;
     this.Initialize(path, port);
 }