Ejemplo n.º 1
0
 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());
         }
     }
 }
Ejemplo n.º 2
0
        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);
////            }
        }