private void OnCreateNewBlogButtonClick(object sender, RoutedEventArgs e)
 {
     LaunchWebBrowserCommand command = new LaunchWebBrowserCommand();
     command.Execute(Constants.WORDPRESS_SIGNUP_URL);
 }
 private void OnTermsOfServiceButtonClick(object sender, RoutedEventArgs e)
 {
     var command = new LaunchWebBrowserCommand();
     command.Execute(Constants.WORDPRESS_TOS_URL);
 }
        private void OnStatsButtonClick(object sender, RoutedEventArgs e)
        {
            if (!App.isNetworkAvailable())
            {
                Exception connErr = new NoConnectionException();
                this.HandleException(connErr);
                return;
            }
            else
            {
                if (App.MasterViewModel.CurrentBlog.isWPcom() || App.MasterViewModel.CurrentBlog.hasJetpack())
                {
                    NavigationService.Navigate(new Uri("/ViewStatsPage.xaml", UriKind.Relative));
                    return;
                }

                //Not a WPCOM blog and JetPack 1.8.2 or higher is installed on the site. Show the error message.
                if (!App.MasterViewModel.CurrentBlog.hasJetpack())
                {
                    MessageBoxResult result = MessageBox.Show(_localizedStrings.Prompts.JetpackNotAvailable, _localizedStrings.PageTitles.Error, MessageBoxButton.OKCancel);
                    if (MessageBoxResult.OK == result) //start the browser
                    {
                        LaunchWebBrowserCommand command = new LaunchWebBrowserCommand();
                        command.Execute(Constants.JETPACK_SITE_URL);
                    }
                }
            }
        }
 private void OnPrivacyPolicyButtonClick(object sender, RoutedEventArgs e)
 {
     var command = new LaunchWebBrowserCommand();
     command.Execute(Constants.WORDPRESS_PRIVACY_URL);
 }
 private void forumButton_Click(object sender, System.Windows.RoutedEventArgs e)
 {
     LaunchWebBrowserCommand command = new LaunchWebBrowserCommand();
     command.Execute(Constants.WORDPRESS_FORUMS_URL);
 }