From f513b0ca1c58e28300b0ceb13b1e143a0180f29f Mon Sep 17 00:00:00 2001 From: John Date: Wed, 6 May 2009 16:18:02 +0000 Subject: [PATCH] Added #elif for assigning font when built for DEMO or for RELEASE --- PROMS/Volian.Controls.Library/StepRTB.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/PROMS/Volian.Controls.Library/StepRTB.cs b/PROMS/Volian.Controls.Library/StepRTB.cs index e9aa3fd4..fa331c5b 100644 --- a/PROMS/Volian.Controls.Library/StepRTB.cs +++ b/PROMS/Volian.Controls.Library/StepRTB.cs @@ -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