All you are doing is calling the Print event of the PrintDocument, without defining what method should handle the Print event. You should add something like this to your code in the if block:-
MyPrintDocument.PrintPage += new PrintPageEventHandler(PrintPage);
then you define a method PrintPage which actually does the printing
void PrintPage(object sender, PrintPageEventArgs e)
{
Bitmap MyChartPanel = new Bitmap(panel1.Width, panel1.Height);
panel1.DrawToBitmap(MyChartPanel, new Rectangle(0, 0, panel1.Width, panel1.Height));
e.Graphics.DrawImage(MyChartPanel, newPoint(0,0));
}
Hope this helps