Override the default font for Demo Mode

Check for null MyFlexGrid before using it.
Added Static LineWidth0 method used for drawing borders on the screen
Fixed logic to draw borders on the VlnFlexGrid
Fixed logic to draw grid borders on the pdf output.
This commit is contained in:
Rich committed 2011-04-07 23:35:07 +00:00
1 parent f1074ce770
commit 2d16db5bf2
6 files changed
+310 -145

No files matched your search

+3 -3
View File
@@ -339,10 +339,10 @@ namespace Volian.Controls.Library
_FormatFont = formatFont;
else
{
if (VlnSettings.DebugMode || VlnSettings.ProductionMode)
//if (VlnSettings.DebugMode || VlnSettings.ProductionMode)
_FormatFont = new Font(MyFontFamily == null ? formatFont.FontFamily : MyFontFamily, formatFont.Size, formatFont.Style);
else
_FormatFont = new Font("Bookman Old Style", formatFont.Size, formatFont.Style);
//else
// _FormatFont = new Font("Bookman Old Style", formatFont.Size, formatFont.Style);
// TODO: Release Mode
//Font = _origDisplayText.TextFont.WindowsFont; // font defined in plant's format
}