void RejectRideButton_Click(object sender, EventArgs e) { RideRejected?.Invoke(this, new EventArgs()); }
private void RejectRideButton_Click(object sender, EventArgs e) { // invoke the ride rejected event RideRejected?.Invoke(this, new EventArgs()); }