Initializes a new instance of the cancel_event_args class with the cancel property set to the given value.