예제 #1
0
 public FileDownloadForm(ClientSocketWork clientSocketWork, string fileName, string newFileName, StudentDownloadForm stuForm)
 {
     InitializeComponent();
     this.clientSocketWork = clientSocketWork;
     this.requestFileName  = fileName;
     this.stuForm          = stuForm;
     this.newFileName      = newFileName;
 }
예제 #2
0
        private void StudentDownloadForm_Load(object sender, EventArgs e)
        {
            clientSocketWork = new ClientSocketWork(userDTO, this);

            clientSocketWork.ServerIP = joinRoomDTO.IpAddress; // 접속하고자 하는 방에 들어감
            clientSocketWork.SocketConnection();

            this.timer_fileListRefresh.Enabled = true;
        }