Pour cela, il suffit d'utiliser un code très simple mais pas forcément évident à trouver sur Internet :
Microsoft.WindowsMobile.Telephony.Phone myPhone = new Microsoft.WindowsMobile.Telephony.Phone();
myPhone.Talk("0123456789", true);
Il ne faut pas oublier d'inclure
Microsoft.WindowsMobile.Telephony;
Aucun commentaire:
Enregistrer un commentaire