예제 #1
0
        /// <summary>
        /// Called when the back button is clicked
        /// </summary>
        /// <param name="sender">
        /// autogenerated
        /// </param>
        /// <param name="e">
        /// autogenerated
        /// </param>
        private void BackButtonClick(object sender, RoutedEventArgs e)
        {
            if (_activeUpdateThread != null)
            {
                _activeUpdateThread.Abort();
            }

            _parent.Navigate(new TypeChoicePage(_parent, _ui));
            _ui.DisposeStation();
            _ui.OverviewPage = null;
        }
 private void BackButtonClick(object sender, RoutedEventArgs e)
 {
     _ui.WaitingForManagerPage = null;
     _ui.DisposeStation();
     _parent.Navigate(new TypeChoicePage(_parent, _ui));
 }
예제 #3
0
 private void BackClick(object sender, RoutedEventArgs e)
 {
     _parent.Navigate(new TypeChoicePage(_parent, _ui));
     _ui.DisposeStation();
 }
예제 #4
0
 /// <summary>
 /// When the station is told that it has been removed, we navigate to the TypeChoicePage.
 /// </summary>
 public void StationRemoved()
 {
     _ui.BallotRequestPage = null;
     _ui.DisposeStation();
     _parent.Navigate(new TypeChoicePage(_parent, _ui));
 }
예제 #5
0
 /// <summary>
 /// When the station is told that it has been removed, we navigate to the TypeChoicePage.
 /// </summary>
 public void StationRemoved()
 {
     _ui.WaitingForManagerPage = null;
     _ui.DisposeStation();
     _parent.Navigate(new TypeChoicePage(_parent, _ui));
 }