Add double click connect
This commit is contained in:
parent
c920fa115f
commit
c33f44f1dc
|
@ -210,4 +210,4 @@
|
|||
</Target>
|
||||
<Import Project="packages\Costura.Fody.5.7.0\build\Costura.Fody.targets" Condition="Exists('packages\Costura.Fody.5.7.0\build\Costura.Fody.targets')" />
|
||||
|
||||
</Project>
|
||||
</Project>
|
||||
|
|
|
@ -280,6 +280,7 @@
|
|||
this.listBox.Size = new System.Drawing.Size(211, 276);
|
||||
this.listBox.TabIndex = 0;
|
||||
this.listBox.SelectedValueChanged += new System.EventHandler(this.listBox_SelectedValueChanged);
|
||||
this.listBox.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.listBox_MouseDoubleClick);
|
||||
//
|
||||
// MainForm
|
||||
//
|
||||
|
|
|
@ -184,5 +184,9 @@ namespace RDP_Portal {
|
|||
About about = new About();
|
||||
about.ShowDialog(this);
|
||||
}
|
||||
|
||||
private void listBox_MouseDoubleClick(object sender, MouseEventArgs e) {
|
||||
buttonConnect_Click(sender, e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue