locked
resuming event handler

    Question

  • Hi support team

    I try input the resuming event handler in my windows 8 store app with visual basic 2013 I place in MainPage.xaml.vb at top of page I’m using a basic page and not the blank page and I’m getting errors no matter where I this code. I want the user to resume where he left off if close the program and open in the same place he ended. Can you help 

    This is the code I'm using

    Public NonInheritable Class MainPage

       Public Sub New()

          InitializeComponent()

          AddHandler Application.Current.Resuming, AddressOf App_Resuming

       End Sub

    End Class

    Thursday, April 24, 2014 10:25 PM

Answers