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
|
// 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user