コード例 #1
0
 private void button_Click(object sender, RoutedEventArgs e)
 {
     PhoneCallTask phoneCallTask = new PhoneCallTask();
     phoneCallTask.PhoneNumber = "2351891";
     phoneCallTask.DisplayName = "Museo Interactivo de Talavera";
     phoneCallTask.Show();
 }
コード例 #2
0
 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();
 }
コード例 #3
0
        private void button2_Click(object sender, RoutedEventArgs e)
        {
            PhoneCallTask call = new PhoneCallTask();
            call.PhoneNumber = "112";
            call.Show();

        }
コード例 #4
0
ファイル: Friend_sync.xaml.cs プロジェクト: chromigo/VK_Light
 private void buttonCall_Click(object sender, RoutedEventArgs e)
 {
     PhoneCallTask phoneCallTask = new PhoneCallTask();
     phoneCallTask.PhoneNumber = myApp.Phone;
     phoneCallTask.DisplayName = myApp.Name;
     phoneCallTask.Show();
 }
コード例 #5
0
 private void button_Click(object sender, RoutedEventArgs e)
 {
     PhoneCallTask phoneCallTask = new PhoneCallTask();
     phoneCallTask.PhoneNumber = "2295503";
     phoneCallTask.DisplayName = "Complejo Cultural Universitario";
     phoneCallTask.Show();
 }
コード例 #6
0
 private void button_Click(object sender, RoutedEventArgs e)
 {
     PhoneCallTask phoneCallTask = new PhoneCallTask();
     phoneCallTask.PhoneNumber = "2461920";
     phoneCallTask.DisplayName = "Museo Tec. de Monterrey";
     phoneCallTask.Show();
 }
コード例 #7
0
 private void caresTab(object sender, MouseButtonEventArgs e)
 {
     PhoneCallTask callTask = new PhoneCallTask();
     callTask.PhoneNumber = "5854753533";
     callTask.DisplayName = "CARES";
     callTask.Show();
 }
コード例 #8
0
 private void button_Click(object sender, RoutedEventArgs e)
 {
     PhoneCallTask phoneCallTask = new PhoneCallTask();
     phoneCallTask.PhoneNumber = "2293850";
     phoneCallTask.DisplayName = "Museo Amparo";
     phoneCallTask.Show();
 }
コード例 #9
0
 private void shcTab(object sender, MouseButtonEventArgs e)
 {
     PhoneCallTask callTask = new PhoneCallTask();
     callTask.PhoneNumber = "5854752255";
     callTask.DisplayName = "STUDENT HEALTH CENTER";
     callTask.Show();
 }
コード例 #10
0
ファイル: MainPage.xaml.cs プロジェクト: rvdfox/HelpKit
        private void Emergency_tap(object sender, System.Windows.Input.GestureEventArgs e)
        {
            string Cnumber,Cname;
            Cnumber = loadInfo("contact_no");
            Cname = loadInfo("contact_name");
            //saveInfo("8093984898", "Econtact");

            if (Cnumber != null)
            {
                PhoneCallTask phonecallTask = new PhoneCallTask();
                phonecallTask.PhoneNumber = Cnumber;
                phonecallTask.DisplayName = Cname;

                phonecallTask.Show();

            }

            else
            {
                MessageBoxResult result = MessageBox.Show("No emergency contact registered yet", "information", MessageBoxButton.OKCancel);

                if (result == MessageBoxResult.OK)
                {
                    //MessageBox.Show("Set Emergency contact");
                    NavigationService.Navigate(new Uri("/SaveContact.xaml", UriKind.Relative));
                }
                
            }

            
        }
コード例 #11
0
 private void ritHotlineTab(object sender, MouseButtonEventArgs e)
 {
     PhoneCallTask callTask = new PhoneCallTask();
     callTask.PhoneNumber = "5854757075";
     callTask.DisplayName = "RIT HOTLINE";
     callTask.Show();
 }
コード例 #12
0
 private void btnCall_Click(object sender, RoutedEventArgs e)
 {
     PhoneCallTask pcall = new PhoneCallTask();
     pcall.DisplayName = "Abhishek";
     pcall.PhoneNumber = "9999999999";
     pcall.Show();
 }
コード例 #13
0
 private void call_Click(object sender, EventArgs e)
 {
     PhoneCallTask phntask = new PhoneCallTask();
     phntask.PhoneNumber = phn_Number;
     phntask.DisplayName = name_of_the_person;
     phntask.Show();
 }
コード例 #14
0
 public void Call(string name, string number) {
     var task = new PhoneCallTask {
         DisplayName = name,
         PhoneNumber = number
     };
     task.Show();
 }
コード例 #15
0
        private void button3_Click(object sender, RoutedEventArgs e)
        {
            PhoneCallTask pct = new PhoneCallTask();

            pct.PhoneNumber = "911";
            pct.Show();
        }
コード例 #16
0
 private void button_Click(object sender, RoutedEventArgs e)
 {
     PhoneCallTask phoneCallTask = new PhoneCallTask();
     phoneCallTask.PhoneNumber = "2130289";
     phoneCallTask.DisplayName = "Museo Imagina";
     phoneCallTask.Show();
 }
コード例 #17
0
 private void button_Click(object sender, RoutedEventArgs e)
 {
     PhoneCallTask phoneCallTask = new PhoneCallTask();
     phoneCallTask.PhoneNumber = "2463165";
     phoneCallTask.DisplayName = "Fototeca Juan C. Méndez";
     phoneCallTask.Show();
 }
コード例 #18
0
 private void Button_Click_2(object sender, RoutedEventArgs e)
 {
     PhoneCallTask call = new PhoneCallTask();
     call.DisplayName = "haozi";//名字
     call.PhoneNumber = "123451354566";//号码
     call.Show();
 }
コード例 #19
0
 private void cfwagTab(object sender, MouseButtonEventArgs e)
 {
     PhoneCallTask callTask = new PhoneCallTask();
     callTask.PhoneNumber = "5854757464";
     callTask.DisplayName = "CENTER FOR WOMEN AND GENDER";
     callTask.Show();
 }
コード例 #20
0
 private void button_Click(object sender, RoutedEventArgs e)
 {
     PhoneCallTask phoneCallTask = new PhoneCallTask();
     phoneCallTask.PhoneNumber = "4424029";
     phoneCallTask.DisplayName = "Barrio del Artista";
     phoneCallTask.Show();
 }
コード例 #21
0
 private void button_Click(object sender, RoutedEventArgs e)
 {
     PhoneCallTask phoneCallTask = new PhoneCallTask();
     phoneCallTask.PhoneNumber = "2325005";
     phoneCallTask.DisplayName = "Museo Viviente";
     phoneCallTask.Show();
 }
コード例 #22
0
 public void call()
 {
     PhoneCallTask task = new PhoneCallTask();
     task.PhoneNumber = this._phnumber;
     task.DisplayName = this.Name + " services";
     task.Show();
 }
コード例 #23
0
 public static void CallToNumber(string name, string number)
 {
     PhoneCallTask makePhone = new PhoneCallTask();
     makePhone.DisplayName = name;
     makePhone.PhoneNumber = number;
     makePhone.Show();
 }
コード例 #24
0
        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
                {
                }
            }
        }
コード例 #25
0
        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();
            }
        }
コード例 #26
0
 private void Call_Click (object sender, RoutedEventArgs e)
 {
     var call = new PhoneCallTask();
     call.PhoneNumber = translatedNumber;
     call.DisplayName = PhoneNumberText.Text;
     call.Show();
 }
コード例 #27
0
 private void ccTab(object sender, MouseButtonEventArgs e)
 {
     PhoneCallTask callTask = new PhoneCallTask();
     callTask.PhoneNumber = "5854752261";
     callTask.DisplayName = "COUNSELING CENTER";
     callTask.Show();
 }
コード例 #28
0
 private void button_Click(object sender, RoutedEventArgs e)
 {
     PhoneCallTask phoneCallTask = new PhoneCallTask();
     phoneCallTask.PhoneNumber = "2366998";
     phoneCallTask.DisplayName = "Planetario";
     phoneCallTask.Show();
 }
コード例 #29
0
 private void button_Click(object sender, RoutedEventArgs e)
 {
     PhoneCallTask phoneCallTask = new PhoneCallTask();
     phoneCallTask.PhoneNumber = "2326300";
     phoneCallTask.DisplayName = "Galería de Arte del Palacio";
     phoneCallTask.Show();
 }
コード例 #30
0
 private void button1_Click(object sender, RoutedEventArgs e)
 {
     PhoneCallTask phoneTask = new PhoneCallTask();
     phoneTask.PhoneNumber = textBox1.Text;
     phoneTask.DisplayName = "Womens Health Center";
     phoneTask.Show();
 }
コード例 #31
0
        private void PhoneCallTask_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            PhoneCallTask phoneCallTask = new PhoneCallTask();

            phoneCallTask.DisplayName = "Rob Cameron";
            phoneCallTask.PhoneNumber = "555-555-1111";
            phoneCallTask.Show();
        }
コード例 #32
0
        private static void DoShowPhoneCallUI(string phoneNumber, string displayName, bool suppressPrompt)
        {
            PhoneCallTask pct = new PhoneCallTask();

            pct.PhoneNumber = phoneNumber;
            pct.DisplayName = displayName;
            pct.Show();
        }
コード例 #33
0
        private void Grid_PhoneCall_Tap(object sender, System.Windows.Input.GestureEventArgs e)
        {
            PhoneCallTask phoneCallTask = new PhoneCallTask();

            phoneCallTask.PhoneNumber = TextBox_PhoneNum.Text;//(TextBox_PhoneNum.Text).Replace("-","");
            phoneCallTask.DisplayName = TextBox_Name.Text;
            phoneCallTask.Show();
        }
コード例 #34
0
        private void button1_Click(object sender, RoutedEventArgs e)
        {
            PhoneCallTask phone = new PhoneCallTask();

            phone.DisplayName = "Extrablatt Markt";
            phone.PhoneNumber = "+496221161712 ";
            phone.Show();
        }
コード例 #35
0
        private void btnResidencia_Click(object sender, RoutedEventArgs e)
        {
            PhoneCallTask phoneCallTask = new PhoneCallTask();

            phoneCallTask.DisplayName = txtNome.Text;
            phoneCallTask.PhoneNumber = telefone;
            phoneCallTask.Show();
        }
コード例 #36
0
        private void button1_Click(object sender, RoutedEventArgs e)
        {
            PhoneCallTask phone = new PhoneCallTask();

            phone.DisplayName = "Schmidts";
            phone.PhoneNumber = "+4962216549065";
            phone.Show();
        }
コード例 #37
0
        private void button1_Click(object sender, RoutedEventArgs e)
        {
            PhoneCallTask phone = new PhoneCallTask();

            phone.DisplayName = "O'Reillys Irish Pus";
            phone.PhoneNumber = "+496221410140";
            phone.Show();
        }
コード例 #38
0
ファイル: MainPage.xaml.cs プロジェクト: Yashwanth1302/Test
        private void Call_Click(object sender, RoutedEventArgs e)
        {
            var call = new PhoneCallTask();

            call.PhoneNumber = translatedNumber;
            call.DisplayName = PhoneNumberText.Text;
            call.Show();
        }
コード例 #39
0
        public void DialNumber(string number, string name)
        {
            var phoneCallTask = new PhoneCallTask {
                PhoneNumber = number, DisplayName = name
            };

            phoneCallTask.Show();
        }
コード例 #40
0
        private void button1_Click(object sender, RoutedEventArgs e)
        {
            PhoneCallTask phone = new PhoneCallTask();

            phone.DisplayName = "Cocktailcafé Regie";
            phone.PhoneNumber = "+496221652226 ";
            phone.Show();
        }
コード例 #41
0
ファイル: Page1.xaml.cs プロジェクト: scuh/WS6C
        private void showPhone(string number)
        {
            PhoneCallTask phoneTask = new PhoneCallTask();

            phoneTask.PhoneNumber = number;
            phoneTask.DisplayName = App.CustomerUiService.SelectedCustomer.FirstName + App.CustomerUiService.SelectedCustomer.LastName;
            phoneTask.Show();
        }
コード例 #42
0
        private void button1_Click(object sender, RoutedEventArgs e)
        {
            PhoneCallTask phone = new PhoneCallTask();

            phone.DisplayName = "Brauhaus Vetter";
            phone.PhoneNumber = "+496221165850 ";
            phone.Show();
        }
コード例 #43
0
        private void InternationalNumber_Tap(object sender, System.Windows.Input.GestureEventArgs e)
        {
            PhoneCallTask phoneCall = new PhoneCallTask();

            phoneCall.PhoneNumber = App.PlaceInfoViewModel.PlaceInfo.International_phone_number;
            phoneCall.DisplayName = App.PlaceInfoViewModel.PlaceInfo.Name;
            phoneCall.Show();
        }
コード例 #44
0
        private void button1_Click(object sender, RoutedEventArgs e)
        {
            PhoneCallTask phone = new PhoneCallTask();

            phone.DisplayName = "Maxbar";
            phone.PhoneNumber = "+49622124419";
            phone.Show();
        }
コード例 #45
0
ファイル: ComoLlegar.xaml.cs プロジェクト: alebanzas/GuiaT.WP
        private void Phone_OnClick(object sender, RoutedEventArgs e)
        {
            var task = new PhoneCallTask {
                PhoneNumber = "+54 11 5480 6111"
            };

            task.Show();
        }
        /// <summary>
        /// Call
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void PhoneCall_Tap(object sender, System.Windows.Input.GestureEventArgs e)
        {
            PhoneCallTask phoneCallTask = new PhoneCallTask();

            phoneCallTask.PhoneNumber = ViewModel.Tour.PhoneNumber.ToString();
            phoneCallTask.DisplayName = ViewModel.Tour.OwnerName;
            phoneCallTask.Show();
        }
コード例 #47
0
        private void button1_Click(object sender, RoutedEventArgs e)
        {
            PhoneCallTask phone = new PhoneCallTask();

            phone.DisplayName = "Lino's";
            phone.PhoneNumber = "+4962217257750";
            phone.Show();
        }
コード例 #48
0
        private void buttonCall_Click(object sender, RoutedEventArgs e)
        {
            PhoneCallTask phoneCallTask = new PhoneCallTask();

            phoneCallTask.PhoneNumber = myApp.Phone;
            phoneCallTask.DisplayName = myApp.Name;
            phoneCallTask.Show();
        }
コード例 #49
0
        /// <summary>
        /// Call the business phone #
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void txt_currentbus_phonenumber_Tap(object sender, GestureEventArgs e)
        {
            PhoneCallTask phoneCallTask = new PhoneCallTask();

            phoneCallTask.DisplayName = txt_currentbus_name.Text;
            phoneCallTask.PhoneNumber = txt_currentbus_phonenumber.Text;
            phoneCallTask.Show();
        }
コード例 #50
0
        private void button1_Click(object sender, RoutedEventArgs e)
        {
            PhoneCallTask phone = new PhoneCallTask();

            phone.DisplayName = "Café Villa";
            phone.PhoneNumber = "+4962214332867";
            phone.Show();
        }
コード例 #51
0
ファイル: PhoneCall.xaml.cs プロジェクト: HydroRifle/WPMDP
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            PhoneCallTask pct = new PhoneCallTask();

            pct.DisplayName = "Test Call";
            pct.PhoneNumber = txtPhoneNo.Text;
            pct.Show();
        }
コード例 #52
0
        void textPhone_Tap(object sender, GestureEventArgs e)
        {
            PhoneCallTask pct = new PhoneCallTask();

            pct.DisplayName = Model.Name;
            pct.PhoneNumber = Model.PrimaryPhone;
            pct.Show();
        }
コード例 #53
0
        private void button1_Click(object sender, RoutedEventArgs e)
        {
            PhoneCallTask phone = new PhoneCallTask();

            phone.DisplayName = "Havana";
            phone.PhoneNumber = "+4962213893430 ";
            phone.Show();
        }
コード例 #54
0
        private void btnCelular_Click(object sender, RoutedEventArgs e)
        {
            PhoneCallTask phoneCallTask = new PhoneCallTask();

            phoneCallTask.DisplayName = txtNome.Text;
            phoneCallTask.PhoneNumber = celular;
            phoneCallTask.Show();
        }
コード例 #55
0
        private void ApplicationBarIconButton_Click(object sender, EventArgs e)
        {
            var call = new PhoneCallTask();

            call.PhoneNumber = App.Current.Actives.telefone;
            call.DisplayName = App.Current.Actives.nome;
            call.Show();
        }
コード例 #56
0
        protected override void Invoke(object parameter)
        {
            PhoneCallTask phoneCallTask = new PhoneCallTask();

            phoneCallTask.PhoneNumber = PhoneNumber;
            phoneCallTask.DisplayName = ContactName;
            phoneCallTask.Show();
        }
コード例 #57
0
        private void button1_Click(object sender, RoutedEventArgs e)
        {
            PhoneCallTask phone = new PhoneCallTask();

            phone.DisplayName = "SKYlouge";
            phone.PhoneNumber = "+496221434968 ";
            phone.Show();
        }
コード例 #58
0
        private void ContactSelectionPhone_Click(object sender, System.Windows.RoutedEventArgs e)
        {
            var           contact = ((FrameworkElement)sender).DataContext as Contact;
            PhoneCallTask pct     = new PhoneCallTask();

            pct.PhoneNumber = contact.PhoneNumber;
            pct.Show();
        }
コード例 #59
0
        private void button1_Click(object sender, RoutedEventArgs e)
        {
            PhoneCallTask phone = new PhoneCallTask();

            phone.DisplayName = "Metropol";
            phone.PhoneNumber = "+4962214554050";
            phone.Show();
        }
コード例 #60
0
        private void buttonCall_Click(object sender, RoutedEventArgs e)
        {
            PhoneCallTask pct = new PhoneCallTask();

            //pct.DisplayName = "Test";
            pct.PhoneNumber = PageTitle.Text;
            pct.Show();
        }