Quantcast
Channel: Channel 9 Forums - Site Feedback - Windows Phone Training Kit
Viewing all articles
Browse latest Browse all 4

Site Feedback - Windows Phone Training Kit

$
0
0

Hi Everyone,

 

Was doing fine in the Lab until building the Error Page.  I'm a newby and I get an error here on ErrorPage.xaml.cs

 

 

 

 

 

 

public partial class ErrorPage : PhoneApplicationPage
{
    public ErrorPage()
    {
    InitializeComponent();
    }

    public static Exception Exception;
    // Executes when the user navigates to this page.
    protected override void OnNavigatedTo(Microsoft.Phone.Navigation.PhoneNavigationEventArgs e)
    {
        ErrorText.Text = Exception.ToString(); }

    }

-------------------------------- 

InitializeComponent() does not exist in current context so the ErrorPage Object is not created??

 

Thanks for any help


Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images