private void SshConfig_Click(object sender, EventArgs e)
 {
     if (GitCommandHelpers.Plink())
     {
         if (SshSettingsPage.AutoFindPuttyPaths())
         {
             MessageBox.Show(this, _puttyFoundAuto.Text, _putty);
         }
         else
         {
             PageHost.GotoPage(SshSettingsPage.GetPageReference());
         }
     }
 }
        private void SshConfig_Click(object sender, EventArgs e)
        {
            if (GitCommandHelpers.Plink())
            {
                if (SshSettingsPage.AutoFindPuttyPaths())
                {
                    MessageBox.Show(this, _puttyFoundAuto.Text, _putty);
                }
                else
                {
                    PageHost.GotoPage(SshSettingsPage.GetPageReference());
                }
            }

            // original
////            if (Putty.Checked)
////            {
////                if (AutoFindPuttyPaths())
////                    MessageBox.Show(this, _puttyFoundAuto.Text, _puttyFoundAutoCaption.Text);
////                else
////                    tabControl1.SelectTab(tpSsh);
////            }
        }