EvaluatorWindow.on_entries_required_changed C# (CSharp) Method

on_entries_required_changed() private method

private on_entries_required_changed ( object o, EventArgs args ) : void
o object
args EventArgs
return void
    private void on_entries_required_changed(object o, EventArgs args)
    {
        if(
                entry_name.Text.Length > 0 &&
                entry_email.Text.Length > 0 &&
                label_date.Text.Length >0  &&
                label_date.Text != Catalog.GetString(Constants.UndefinedDefault) &&
                UtilGtk.ComboGetActive(combo_countries) != Catalog.GetString(Constants.CountryUndefined) &&
                ! radio_cp_undef.Active &&
                ! (radio_cp_other.Active && entry_cp_other.Text.Length == 0) &&
                ! radio_device_undef.Active &&
                ! (radio_device_other.Active && entry_device_other.Text.Length == 0)
          )
            button_accept.Sensitive = true;
        else
            button_accept.Sensitive = false;
    }