InstallPad.ApplicationDialog.EnableSaveButtonIfValid C# (CSharp) Метод

EnableSaveButtonIfValid() приватный Метод

If the form is valid, this will enable the save button.
private EnableSaveButtonIfValid ( ) : void
Результат void
        private void EnableSaveButtonIfValid()
        {
            if (appNameBox.Text.Length > 0 && downloadUrlBox.Text.Length > 0)
                saveButton.Enabled = true;
            else
                saveButton.Enabled = false;
        }