Exemple #1
0
 private void button2_Click(object sender, EventArgs e)
 {
     RunProgram.RunSsh(
         textBoxsshhost.Text,
         textBoxsshusername.Text,
         textBoxsshpassword.Text,
         textBoxsshport.Text
         );
 }
Exemple #2
0
 private void buttonmstsclink_Click(object sender, EventArgs e)
 {
     RunProgram.RunMstsc(
         textBoxmstschost.Text,
         textBoxmstscusername.Text,
         textBoxmstscpassword.Text,
         textBoxmstscport.Text
         );
 }
Exemple #3
0
 private void dataGridViewssh_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     RunProgram.RunSsh(
         dataGridViewssh.Rows[e.RowIndex].Cells[0].Value.ToString(),
         dataGridViewssh.Rows[e.RowIndex].Cells[1].Value.ToString(),
         dataGridViewssh.Rows[e.RowIndex].Cells[4].Value.ToString(),
         dataGridViewssh.Rows[e.RowIndex].Cells[2].Value.ToString()
         );
 }
Exemple #4
0
 private void buttonftplink_Click(object sender, EventArgs e)
 {
     RunProgram.RunFtp(
         textBoxftphost.Text,
         textBoxftpusername.Text,
         textBoxftppassword.Text,
         textBoxftpport.Text,
         comboBoxftpprotocol.Text
         );
 }