Пример #1
0
        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);
 }
Пример #3
0
 private void dealOpenFile(IWebSocketConnection socket, OpenFileCo co)
 {
     OpenFileByDefaultApplicaitonServer.openFile(co.FilePath);
 }