Esempio n. 1
0
File: Form1.cs Progetto: baiy/login
 private void button2_Click(object sender, EventArgs e)
 {
     RunProgram.RunSsh(
         textBoxsshhost.Text,
         textBoxsshusername.Text,
         textBoxsshpassword.Text,
         textBoxsshport.Text
         );
 }
Esempio n. 2
0
File: Form1.cs Progetto: baiy/login
 private void buttonmstsclink_Click(object sender, EventArgs e)
 {
     RunProgram.RunMstsc(
         textBoxmstschost.Text,
         textBoxmstscusername.Text,
         textBoxmstscpassword.Text,
         textBoxmstscport.Text
         );
 }
Esempio n. 3
0
File: Form1.cs Progetto: baiy/login
 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()
         );
 }
Esempio n. 4
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
         );
 }