本文整理汇总了C#中PhoneCallTask类的典型用法代码示例。如果您正苦于以下问题:C# PhoneCallTask类的具体用法?C# PhoneCallTask怎么用?C# PhoneCallTask使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
PhoneCallTask类属于命名空间,在下文中一共展示了PhoneCallTask类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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();
}
开发者ID:avneet723,项目名称:BusTracker1.0,代码行数:7,代码来源:WomensCenter.xaml.cs
示例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();
}
开发者ID:casablancas,项目名称:MuseosAppWP8.1,代码行数:7,代码来源:BarrioArtista.xaml.cs
示例3: call
public void call()
{
PhoneCallTask task = new PhoneCallTask();
task.PhoneNumber = this._phnumber;
task.DisplayName = this.Name + " services";
task.Show();
}
开发者ID:rkrishnasanka,项目名称:Emergency-Dial,代码行数:7,代码来源:MainPage.xaml.cs
示例4: shcTab
private void shcTab(object sender, MouseButtonEventArgs e)
{
PhoneCallTask callTask = new PhoneCallTask();
callTask.PhoneNumber = "5854752255";
callTask.DisplayName = "STUDENT HEALTH CENTER";
callTask.Show();
}
开发者ID:KyleBarbauld,项目名称:TigerSafe,代码行数:7,代码来源:moreTab.xaml.cs
示例5: CallToNumber
public static void CallToNumber(string name, string number)
{
PhoneCallTask makePhone = new PhoneCallTask();
makePhone.DisplayName = name;
makePhone.PhoneNumber = number;
makePhone.Show();
}
开发者ID:sangnvus,项目名称:2015FALLIS01,代码行数:7,代码来源:DriverFunctions.cs
示例6: btnCall_Click
private void btnCall_Click(object sender, RoutedEventArgs e)
{
PhoneCallTask pcall = new PhoneCallTask();
pcall.DisplayName = "Abhishek";
pcall.PhoneNumber = "9999999999";
pcall.Show();
}
开发者ID:solondon,项目名称:VisualStudio2013andNETCookbookCode,代码行数:7,代码来源:MainPage.xaml.cs
示例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();
}
开发者ID:JalenTheory,项目名称:AppleBasket,代码行数:7,代码来源:TakePage.xaml.cs
示例8: button2_Click
private void button2_Click(object sender, RoutedEventArgs e)
{
PhoneCallTask call = new PhoneCallTask();
call.PhoneNumber = "112";
call.Show();
}
开发者ID:chahalarora,项目名称:R.S.C-WindowsPhone,代码行数:7,代码来源:ukrain.xaml.cs
示例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();
}
开发者ID:chromigo,项目名称:VK_Light,代码行数:7,代码来源:Friend_sync.xaml.cs
示例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();
}
开发者ID:KyleBarbauld,项目名称:TigerSafe,代码行数:7,代码来源:moreTab.xaml.cs
示例11: ritHotlineTab
private void ritHotlineTab(object sender, MouseButtonEventArgs e)
{
PhoneCallTask callTask = new PhoneCallTask();
callTask.PhoneNumber = "5854757075";
callTask.DisplayName = "RIT HOTLINE";
callTask.Show();
}
开发者ID:KyleBarbauld,项目名称:TigerSafe,代码行数:7,代码来源:moreTab.xaml.cs
示例12: button3_Click
private void button3_Click(object sender, RoutedEventArgs e)
{
PhoneCallTask pct = new PhoneCallTask();
pct.PhoneNumber = "911";
pct.Show();
}
开发者ID:dustvt,项目名称:CS4804-Capstone,代码行数:7,代码来源:MainPage.xaml.cs
示例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();
}
开发者ID:haozzzzzzzz,项目名称:WindowsPhone_Task,代码行数:7,代码来源:MainPage.xaml.cs
示例14: Call_Click
private void Call_Click (object sender, RoutedEventArgs e)
{
var call = new PhoneCallTask();
call.PhoneNumber = translatedNumber;
call.DisplayName = PhoneNumberText.Text;
call.Show();
}
开发者ID:King-of-Spades,项目名称:xamarin-samples,代码行数:7,代码来源:MainPage.xaml.cs
示例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
{
}
}
}
开发者ID:pwattjaidee,项目名称:ThailandDelivery,代码行数:27,代码来源:MainPage.xaml.cs
示例16: OnNavigatedTo
protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e)
{
base.OnNavigatedTo(e);
string contactName;
string number;
string info;
if (NavigationContext.QueryString.TryGetValue("name", out contactName))
{
PageTitle.Text = contactName;
}
if (NavigationContext.QueryString.TryGetValue("info", out info))
{
infoTextBlock.Text = info;
}
if (NavigationContext.QueryString.TryGetValue("number", out number))
{
PhoneCallTask phoneCallTask = new PhoneCallTask();
phoneCallTask.PhoneNumber = number;
phoneCallTask.DisplayName = contactName;
phoneCallTask.Show();
}
}
开发者ID:alum01,项目名称:Emergency-App,代码行数:25,代码来源:ContactDetail.xaml.cs
示例17: Call
public void Call(string name, string number) {
var task = new PhoneCallTask {
DisplayName = name,
PhoneNumber = number
};
task.Show();
}
开发者ID:rmarinho,项目名称:acr-xamarin-forms,代码行数:7,代码来源:PhoneService.cs
示例18: caresTab
private void caresTab(object sender, MouseButtonEventArgs e)
{
PhoneCallTask callTask = new PhoneCallTask();
callTask.PhoneNumber = "5854753533";
callTask.DisplayName = "CARES";
callTask.Show();
}
开发者ID:KyleBarbauld,项目名称:TigerSafe,代码行数:7,代码来源:moreTab.xaml.cs
示例19: call_Click
private void call_Click(object sender, EventArgs e)
{
PhoneCallTask phntask = new PhoneCallTask();
phntask.PhoneNumber = phn_Number;
phntask.DisplayName = name_of_the_person;
phntask.Show();
}
开发者ID:Rushyendher,项目名称:Virtual-Maps,代码行数:7,代码来源:ContactInfo.xaml.cs
示例20: ccTab
private void ccTab(object sender, MouseButtonEventArgs e)
{
PhoneCallTask callTask = new PhoneCallTask();
callTask.PhoneNumber = "5854752261";
callTask.DisplayName = "COUNSELING CENTER";
callTask.Show();
}
开发者ID:KyleBarbauld,项目名称:TigerSafe,代码行数:7,代码来源:moreTab.xaml.cs
注:本文中的PhoneCallTask类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论