private void getKey(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.F12) { FrmServerConnections conn = new FrmServerConnections(); conn.ShowDialog(); } }
private void bbiServerConnections_ItemClick(object sender, ItemClickEventArgs e) { FrmServerConnections serverConn = new FrmServerConnections(); serverConn.ShowDialog(); }