public void InstallJDKCompleted(bool result)
 {
     if (result)
     {
         jdkEnv = 1;
         Label_jdk_status.Text       = "已安装";
         Label_jdk_status.ForeColor  = Color.Green;
         PictureBox_jdk_status.Image = Resources.complete;
         Button_jdk_install.Hide();
         InstallCompleted();
     }
     else
     {
         Label_jdk_status.Text       = "未安装";
         Label_jdk_status.ForeColor  = Color.Red;
         PictureBox_jdk_status.Image = Resources.error;
         Button_jdk_install.Text     = "重试";
         Button_jdk_install.Enabled  = true;
     }
 }
 private void Form_EnvCheck_Shown(object sender, EventArgs e)
 {
     //隐藏按钮
     Button_jdk_install.Hide();
     Button_vsc_install.Hide();
 }