This commit is contained in:
Kathy Ruffing 2010-07-22 14:21:03 +00:00
parent 846f9a142d
commit 458b3b4d63

View File

@ -107,6 +107,14 @@ namespace VEPROMS
#endif #endif
InitializeComponent(); InitializeComponent();
// When creating an XY Plot, a System.Drawing.Graphics is needed and it requires a form. Use the main
// form.
#if (DEBUG)
MSWordToPDF.OverrideColor = Color.Red;
#endif
MSWordToPDF.FormForPlotGraphics = this;
// set the color of the ribbon // set the color of the ribbon
RibbonPredefinedColorSchemes.ChangeOffice2007ColorTable((eOffice2007ColorScheme)Settings.Default.SystemColor); RibbonPredefinedColorSchemes.ChangeOffice2007ColorTable((eOffice2007ColorScheme)Settings.Default.SystemColor);