Add double click connect
This commit is contained in:
parent
c920fa115f
commit
c33f44f1dc
|
@ -280,6 +280,7 @@
|
||||||
this.listBox.Size = new System.Drawing.Size(211, 276);
|
this.listBox.Size = new System.Drawing.Size(211, 276);
|
||||||
this.listBox.TabIndex = 0;
|
this.listBox.TabIndex = 0;
|
||||||
this.listBox.SelectedValueChanged += new System.EventHandler(this.listBox_SelectedValueChanged);
|
this.listBox.SelectedValueChanged += new System.EventHandler(this.listBox_SelectedValueChanged);
|
||||||
|
this.listBox.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.listBox_MouseDoubleClick);
|
||||||
//
|
//
|
||||||
// MainForm
|
// MainForm
|
||||||
//
|
//
|
||||||
|
|
|
@ -184,5 +184,9 @@ namespace RDP_Portal {
|
||||||
About about = new About();
|
About about = new About();
|
||||||
about.ShowDialog(this);
|
about.ShowDialog(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void listBox_MouseDoubleClick(object sender, MouseEventArgs e) {
|
||||||
|
buttonConnect_Click(sender, e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue