it certainly sounds as if it is mildew, and cutting off the worst affected leaves will help to limit spread, a lot of gardeners also swear by spraying the infected foliage with milk ! Not tried it myself, as generally I find the mildew arrives pretty late in the season.
And yes, it is just the slightly soggy flower that you need to rmeove, not the developing courgette!