I have been poking around for a while and I have been unable to find the source code for the MySQL prefPane for Mac.
I found this for PosgreSQL
which is helpful but not what I am looking for.
it seems that to get your copy of source code you have to fill in the form here => http://creativeeyes.at/main/240
At least this is how I understand that.....