本文整理汇总了C#中PhoneCallTask类的典型用法代码示例。如果您正苦于以下问题:C# PhoneCallTask类的具体用法?C# PhoneCallTask怎么用?C# PhoneCallTask使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
PhoneCallTask类属于命名空间,在下文中一共展示了PhoneCallTask类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: button1_Click
private void button1_Click(object sender, RoutedEventArgs e)
{
PhoneCallTask phoneTask = new PhoneCallTask();
phoneTask.PhoneNumber = textBox1.Text;
phoneTask.DisplayName = "Womens Health Center";
phoneTask.Show();
}
示例2: button_Click
private void button_Click(object sender, RoutedEventArgs e)
{
PhoneCallTask phoneCallTask = new PhoneCallTask();
phoneCallTask.PhoneNumber = "4424029";
phoneCallTask.DisplayName = "Barrio del Artista";
phoneCallTask.Show();
}
示例3: call
public void call()
{
PhoneCallTask task = new PhoneCallTask();
task.PhoneNumber = this._phnumber;
task.DisplayName = this.Name + " services";
task.Show();
}
示例4: shcTab
private void shcTab(object sender, MouseButtonEventArgs e)
{
PhoneCallTask callTask = new PhoneCallTask();
callTask.PhoneNumber = "5854752255";
callTask.DisplayName = "STUDENT HEALTH CENTER";
callTask.Show();
}
示例5: CallToNumber
public static void CallToNumber(string name, string number)
{
PhoneCallTask makePhone = new PhoneCallTask();
makePhone.DisplayName = name;
makePhone.PhoneNumber = number;
makePhone.Show();
}
示例6: btnCall_Click
private void btnCall_Click(object sender, RoutedEventArgs e)
{
PhoneCallTask pcall = new PhoneCallTask();
pcall.DisplayName = "Abhishek";
pcall.PhoneNumber = "9999999999";
pcall.Show();
}
示例7: TextBlock_Tap
private void TextBlock_Tap(object sender, System.Windows.Input.GestureEventArgs e)
{
PhoneCallTask call = new PhoneCallTask();
call.PhoneNumber = txtblk_tel.Text;
call.DisplayName = txtblk_name.Text;
call.Show();
}
示例8: button2_Click
private void button2_Click(object sender, RoutedEventArgs e)
{
PhoneCallTask call = new PhoneCallTask();
call.PhoneNumber = "112";
call.Show();
}
示例9: buttonCall_Click
private void buttonCall_Click(object sender, RoutedEventArgs e)
{
PhoneCallTask phoneCallTask = new PhoneCallTask();
phoneCallTask.PhoneNumber = myApp.Phone;
phoneCallTask.DisplayName = myApp.Name;
phoneCallTask.Show();
}
示例10: cfwagTab
private void cfwagTab(object sender, MouseButtonEventArgs e)
{
PhoneCallTask callTask = new PhoneCallTask();
callTask.PhoneNumber = "5854757464";
callTask.DisplayName = "CENTER FOR WOMEN AND GENDER";
callTask.Show();
}
示例11: ritHotlineTab
private void ritHotlineTab(object sender, MouseButtonEventArgs e)
{
PhoneCallTask callTask = new PhoneCallTask();
callTask.PhoneNumber = "5854757075";
callTask.DisplayName = "RIT HOTLINE";
callTask.Show();
}
示例12: button3_Click
private void button3_Click(object sender, RoutedEventArgs e)
{
PhoneCallTask pct = new PhoneCallTask();
pct.PhoneNumber = "911";
pct.Show();
}
示例13: Button_Click_2
private void Button_Click_2(object sender, RoutedEventArgs e)
{
PhoneCallTask call = new PhoneCallTask();
call.DisplayName = "haozi";//名字
call.PhoneNumber = "123451354566";//号码
call.Show();
}
示例14: Call_Click
private void Call_Click (object sender, RoutedEventArgs e)
{
var call = new PhoneCallTask();
call.PhoneNumber = translatedNumber;
call.DisplayName = PhoneNumberText.Text;
call.Show();
}
示例15: DialList_SelectionChanged
private void DialList_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
IList selectedItems = e.AddedItems;
ItemViewModel item = (ItemViewModel)DialList.SelectedItem;
if ((item.LineSix > DateTime.Now.Hour) && (DateTime.Now.Hour >= item.LineFive))
{
PhoneCallTask call = new PhoneCallTask();
call.DisplayName = item.LineOne;
call.PhoneNumber = item.LineTwo;
call.Show();
}
else
{
MessageBoxResult res = MessageBox.Show(item.LineOne + " is not open yet, still want me to call them?", "Oh no!", MessageBoxButton.OKCancel);
if (res == MessageBoxResult.OK)
{
PhoneCallTask call = new PhoneCallTask();
call.DisplayName = item.LineOne;
call.PhoneNumber = item.LineTwo;
call.Show();
}
else
{
}
}
}