第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機(jī)立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

當(dāng)前上下文中不存在名稱“Core”

當(dāng)前上下文中不存在名稱“Core”

C#
回首憶惘然 2021-08-07 17:38:57
我是 Xamarin 的新手,我正在學(xué)習(xí) Xamarin 大學(xué)教程。一切正常,直到我開始遇到錯誤core does not exist。我查看了發(fā)布的一個舊問題并按照說明進(jìn)行操作,但這對我沒有任何幫助。我已經(jīng)發(fā)布了下面舊問題的鏈接。MainPage.xml.cs 的代碼using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using Xamarin.Forms;namespace MyTelephone{   public partial class MainPage : ContentPage{    Entry phoneNumberText;    Button translateButton;    Button callButton;    string translatedNumber;    public MainPage()    {        this.Padding = new Thickness(20, 20, 20, 20);        StackLayout panel = new StackLayout        {            Spacing = 15        };        panel.Children.Add(new Label        {            Text = "Enter a password:",            FontSize = Device.GetNamedSize(NamedSize.Large, typeof(Label))        });        panel.Children.Add(phoneNumberText = new Entry        {            Text = "1-855-XAMARIN",        });        panel.Children.Add(translateButton = new Button        {            Text = "Translate"        });        panel.Children.Add(callButton = new Button        {            Text = "Call",            IsEnabled = false,        });        translateButton.Clicked += OnTranslate;        this.Content = panel;        //InitializeComponent();    }    private void OnTranslate(object sender, EventArgs e)    {        translatedNumber =     Core.PhonewordTranslator.ToNumber(phoneNumberText.Text);        if (!string.IsNullOrEmpty(translatedNumber))        {            callButton.IsEnabled = true;            callButton.Text = "Call" + translatedNumber;        }        else        {            callButton.IsEnabled = false;            callButton.Text = "Call";        }    }    }}
查看完整描述

1 回答

  • 1 回答
  • 0 關(guān)注
  • 205 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號