예제 #1
0
파일: Form1.cs 프로젝트: baiy/login
 private void button2_Click(object sender, EventArgs e)
 {
     RunProgram.RunSsh(
         textBoxsshhost.Text,
         textBoxsshusername.Text,
         textBoxsshpassword.Text,
         textBoxsshport.Text
         );
 }
예제 #2
0
파일: Form1.cs 프로젝트: 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()
         );
 }