Melt butter and chocolate in a small saucepan over low heat; set aside.
Combine sugars, eggs, milk, flour and vanilla in a medium bowl. Gradually add chocolate mixture, beating constantly. Pour into unbaked pie crust; bake at 325° for 40 to 45 minutes. Let cool before serving. Garnish, if desired.