Beispiel #1
0
 private void buttonmstsclink_Click(object sender, EventArgs e)
 {
     RunProgram.RunMstsc(
         textBoxmstschost.Text,
         textBoxmstscusername.Text,
         textBoxmstscpassword.Text,
         textBoxmstscport.Text
         );
 }
Beispiel #2
0
 private void dataGridViewmstsc_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     RunProgram.RunMstsc(
         dataGridViewmstsc.Rows[e.RowIndex].Cells[0].Value.ToString(),
         dataGridViewmstsc.Rows[e.RowIndex].Cells[1].Value.ToString(),
         dataGridViewmstsc.Rows[e.RowIndex].Cells[4].Value.ToString(),
         dataGridViewmstsc.Rows[e.RowIndex].Cells[2].Value.ToString()
         );
 }