Example #1
0
        private void Button_Click(object sender, System.Windows.RoutedEventArgs e)
        {
            var code = this.authorcode.Text.Trim();

            if (!AuthorizationTools.SetAuthorizationCode(code))
            {
                return;
            }
            if (this.NavigationService != null)
            {
                this.NavigationService.Navigate(new BookSearch());
            }
        }