Example #1
0
File: Form1.cs Project: baiy/login
 private void button2_Click(object sender, EventArgs e)
 {
     RunProgram.RunSsh(
         textBoxsshhost.Text,
         textBoxsshusername.Text,
         textBoxsshpassword.Text,
         textBoxsshport.Text
         );
 }
Example #2
0
File: Form1.cs Project: baiy/login
 private void buttonmstsclink_Click(object sender, EventArgs e)
 {
     RunProgram.RunMstsc(
         textBoxmstschost.Text,
         textBoxmstscusername.Text,
         textBoxmstscpassword.Text,
         textBoxmstscport.Text
         );
 }
Example #3
0
File: Form1.cs Project: 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()
         );
 }
Example #4
0
File: Form1.cs Project: baiy/login
 private void buttonftplink_Click(object sender, EventArgs e)
 {
     RunProgram.RunFtp(
         textBoxftphost.Text,
         textBoxftpusername.Text,
         textBoxftppassword.Text,
         textBoxftpport.Text,
         comboBoxftpprotocol.Text
         );
 }