Added #elif for assigning font when built for DEMO or for RELEASE

This commit is contained in:
John Jenko 2009-05-06 16:18:02 +00:00
parent 6cec44befd
commit f513b0ca1c

View File

@ -106,8 +106,12 @@ namespace Volian.Controls.Library
// Use Times New Roman for Debugging // Use Times New Roman for Debugging
Font = new Font("Times New Roman", 14, FontStyle.Regular); Font = new Font("Times New Roman", 14, FontStyle.Regular);
//Font = _origDisplayText.TextFont.WindowsFont; //Font = _origDisplayText.TextFont.WindowsFont;
#else #elif(RELEASE)
Font = _origDisplayText.TextFont.WindowsFont; Font = _origDisplayText.TextFont.WindowsFont; // font defined in plant's format
#else //DEMO
// Comment this out for DEMO to customer
// UN-Comment this for testing
//Font = _origDisplayText.TextFont.WindowsFont; // font defined in plant's format
#endif #endif
Text = ""; // Initialize text before add text Text = ""; // Initialize text before add text