Пример #1
0
 private void Connecter_Click(object sender, EventArgs e)
 {
     OnResponse("Connecting");
     m_ftp = new FTP(server.Text);
     m_ftp.ResponseReceived += new FTPResponseHandler(m_ftp_ResponseReceived);
     m_ftp.Connected += new FTPConnectedHandler(m_ftp_Connected);
     m_ftp.BeginConnect(user.Text, password.Text);
 }