Denso BHT-200QW Specifiche Pagina 277

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 377
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 276
- 275 -
[Ex.] Display the pressed key.
[VB]
Private Sub Form1_KeyDown(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyEventArgs) Handles MyBase.KeyDown
Select Case e.KeyCode
Case DNWA.BHTCL.Keys.M1
Console.WriteLine("[M1] key is down")
Case DNWA.BHTCL.Keys.ALP
Console.WriteLine("[ALP] key is down")
End Select
End Sub
[C#]
private void Form1_KeyDown(object sender, KeyEventArgs e)
{
switch(e.KeyCode)
{
case DNWA.BHTCL.Keys.M1:
Console.WriteLine("[M1] key is down");
break;
case DNWA.BHTCL.Keys.ALP:
Console.WriteLine("[ALP] key is down");
break;
}
}
Vedere la pagina 276
1 2 ... 272 273 274 275 276 277 278 279 280 281 282 ... 376 377

Commenti su questo manuale

Nessun commento