private void btnSaveExit_Click(object sender, EventArgs e) { if (FormValid()) { Sync(); _configService.SaveLabelFormat(m_labelFormat); AddedOrUpdated.Invoke(); this.Close(); } }
public static AddOrUpdateOrganizationResult Success(Organization Organization, AddedOrUpdated AddedOrUpdated, EventTracking_Id EventTrackingId, Organization ParentOrganization = null) => new AddOrUpdateOrganizationResult(Organization, EventTrackingId, true, null, null, ParentOrganization, AddedOrUpdated);
public static AddOrUpdateUserGroupResult Success(UserGroup UserGroup, AddedOrUpdated AddedOrUpdated, EventTracking_Id EventTrackingId, Organization Organization = null) => new AddOrUpdateUserGroupResult(UserGroup, EventTrackingId, true, null, null, Organization, AddedOrUpdated);
public static AddOrUpdateChargeBoxResult Success(ChargeBox ChargeBox, AddedOrUpdated AddedOrUpdated, EventTracking_Id EventTrackingId, ChargeBox ParentChargeBox = null) => new AddOrUpdateChargeBoxResult(ChargeBox, EventTrackingId, true, null, null, ParentChargeBox, AddedOrUpdated);
public static AddOrUpdateAPIKeyResult Success(APIKey APIKey, AddedOrUpdated AddedOrUpdated, EventTracking_Id EventTrackingId, Organization Organization = null) => new AddOrUpdateAPIKeyResult(APIKey, EventTrackingId, true, null, null, Organization, AddedOrUpdated);
public override int GetHashCode() { int hash = 1; if (AddedOrUpdated != false) { hash ^= AddedOrUpdated.GetHashCode(); } if (EntityId.Length != 0) { hash ^= EntityId.GetHashCode(); } return(hash); }