GHWizard.UserInputForm.EnableDisablePath C# (CSharp) Méthode

EnableDisablePath() private méthode

private EnableDisablePath ( CheckBox rhino, Label path, Button browse ) : void
rhino CheckBox
path Label
browse Button
Résultat void
        private void EnableDisablePath(CheckBox rhino, Label path, Button browse)
        {
            if (rhino.Checked && !File.Exists(path.Text))
              {
            browse.PerformClick();
            if (!File.Exists(path.Text))
              rhino.Checked = false;
              }

              path.Visible = rhino.Checked;
              EnableOrDisableContinue();
        }