AppStore.Templates.FlashCardPage.Previous_Click C# (CSharp) Method

Previous_Click() private method

Executed when the Previous Button is tapped. It populates previous flash card question to the view.
private Previous_Click ( object sender, RoutedEventArgs e ) : void
sender object Object Sender is a parameter called Sender that contains a reference to the control/object that raised the event.
e RoutedEventArgs RoutedEventArgs e is a parameter called e that contains the event data, see the RoutedEventArgs MSDN page for more information.
return void
        private void Previous_Click(object sender, RoutedEventArgs e)
        {
            if (iQuestionIndex != 0)
            {
                isFlipped = false;
                iQuestionIndex--;
                populateQuestion(iQuestionIndex);
            }
        }