private void btnOpenFile_Click(object sender, EventArgs e) { OpenFileCo co = new OpenFileCo(); co.FilePath = txtFilePath.Text; int port = int.Parse(cboClient.SelectedItem.ToString()); clientMap[port].Send(co); }
private void dealOpenFile(Socket socket, OpenFileCo co) { OpenFileByDefaultApplicaitonServer.openFile(co.FilePath); }
private void dealOpenFile(IWebSocketConnection socket, OpenFileCo co) { OpenFileByDefaultApplicaitonServer.openFile(co.FilePath); }