private void txtImageURL_TextChanged(object sender, EventArgs e) { btnOK.Enabled = (!string.IsNullOrEmpty(FileName)); }