Forum General

InitializeComponent - Does not compute... among others.

I'm stuck, in your little tutorial. Let me show you.

Picture 1. As you can see it says, "The name "InitializeComponent" does not exist in the current form" and this is where I'm stuck! The same goes for, phoneNumberText and callButton(which is writing as "callbuton, in the tutorial, which I assume is a mistake?) Am I suppose to write it somewhere else, in the Mainpage.xaml? The tutorial, does not mention anywhere else?

Picture 2. In the PhoneTranslator.cs it's confused by the word "else". I am, as far as I can see, following your tutorial, to the letter... I've been stuck with the, "does not exist in it's current form", problem, for a while now, and I can't seem to google it either.

Anyone, knows what the problem(s) is?


  • DaveHuntDaveHunt USMember ✭✭✭✭✭

    Not sure about the InitializeComponent issue, but you've got an extra closing parenthesis in the first line of the if block and the first line of the else block (lines 18 and 21).

    You've also got a case problem in line 33. "keystring" should be "keyString".

  • Hm, thanks. Didn't notice. :)

Sign In or Register to comment.