Added #elif for assigning font when built for DEMO or for RELEASE
This commit is contained in:
parent
6cec44befd
commit
f513b0ca1c
@ -106,8 +106,12 @@ namespace Volian.Controls.Library
|
||||
// Use Times New Roman for Debugging
|
||||
Font = new Font("Times New Roman", 14, FontStyle.Regular);
|
||||
//Font = _origDisplayText.TextFont.WindowsFont;
|
||||
#else
|
||||
Font = _origDisplayText.TextFont.WindowsFont;
|
||||
#elif(RELEASE)
|
||||
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
|
||||
|
||||
Text = ""; // Initialize text before add text
|
||||
|
Loading…
x
Reference in New Issue
Block a user