public Send(SocketServer server, Socket client) { InitializeComponent(); SocketServer = server; Client = client; }
public SendFile(Socket _socket,SocketServer _socketServer) { InitializeComponent(); openFileDialog1.FileName = ""; socket = _socket; socketServer = _socketServer; }