I’m using C# 4.0 and MsCharts within Visual Studio 2010. When I execute
MyPlotChart.Printing.PrintPreview();
(See http://msdn.microsoft.com/en-us/library/system.windows.forms.datavisualization.charting.printingmanager.printpreview ) It works as intended, but the Print Preview dialog shows the default icon. Is there a way to use my own icon, please? Like what I would do with PrintPreviewDialog.Icon (see http://msdn.microsoft.com/en-us/library/system.windows.forms.printpreviewdialog.icon.aspx )
Thanks.
In the end I wrote a hack for this. I added a forms.timer that I enable right before calling PrintPreview(). Then I locate the form in Application.OpenForms and set the icon.