public FileDownloadForm(ClientSocketWork clientSocketWork, string fileName, string newFileName, StudentDownloadForm stuForm) { InitializeComponent(); this.clientSocketWork = clientSocketWork; this.requestFileName = fileName; this.stuForm = stuForm; this.newFileName = newFileName; }
private void StudentDownloadForm_Load(object sender, EventArgs e) { clientSocketWork = new ClientSocketWork(userDTO, this); clientSocketWork.ServerIP = joinRoomDTO.IpAddress; // 접속하고자 하는 방에 들어감 clientSocketWork.SocketConnection(); this.timer_fileListRefresh.Enabled = true; }