Happiness is a choice. You can choose to enjoy life or choose to suffer from the pain it gives you.
Life can also be a game. You can be worried that you might lose or you can simply forget about losing and just enjoy the game.
Whoever breaks your heart and makes you sad, you have to power to control your emotion. You can react with sadness or you can just decide and act to continue going wearing a smile on your face.