Esempio n. 1
0
File: Form1.cs Progetto: baiy/login
 private void buttonftplink_Click(object sender, EventArgs e)
 {
     RunProgram.RunFtp(
         textBoxftphost.Text,
         textBoxftpusername.Text,
         textBoxftppassword.Text,
         textBoxftpport.Text,
         comboBoxftpprotocol.Text
         );
 }
Esempio n. 2
0
File: Form1.cs Progetto: baiy/login
 private void dataGridViewftp_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     RunProgram.RunFtp(
         dataGridViewftp.Rows[e.RowIndex].Cells[0].Value.ToString(),
         dataGridViewftp.Rows[e.RowIndex].Cells[1].Value.ToString(),
         dataGridViewftp.Rows[e.RowIndex].Cells[5].Value.ToString(),
         dataGridViewftp.Rows[e.RowIndex].Cells[2].Value.ToString(),
         dataGridViewftp.Rows[e.RowIndex].Cells[3].Value.ToString()
         );
 }