Exemple #1
0
 private void mnuCopy_Click(object sender, EventArgs e)
 {
     if (Environment.OSVersion.Platform == PlatformID.WinCE)
     {
         Microsoft.WindowsMobile.Telephony.Phone p = new Microsoft.WindowsMobile.Telephony.Phone();
         p.Talk(lblPhone.Text, true);
     }
 }
Exemple #2
0
        private bool MakeCall(string number)
        {
            if (string.IsNullOrEmpty(number))
                return false;

            var myPhone = new Microsoft.WindowsMobile.Telephony.Phone();
            myPhone.Talk(number, false);

            Close();
            return true;
        }
Exemple #3
0
 private void btnCal_Click(object sender, EventArgs e)
 {
     Microsoft.WindowsMobile.Telephony.Phone p = new Microsoft.WindowsMobile.Telephony.Phone();
     p.Talk(this.txtCalledParty.Text, this.chkPrompt.Checked);
 }