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:
@@ -274,6 +274,13 @@ namespace VEPROMS
|
||||
tc.Enter += new EventHandler(tc_Enter);
|
||||
tc.Leave += new EventHandler(tc_Leave);
|
||||
this.Deactivate += new EventHandler(frmVEPROMS_Deactivate);
|
||||
if (VlnSettings.DemoMode) StepRTB.MyFontFamily = GetFamily("Bookman Old Style");
|
||||
}
|
||||
private FontFamily GetFamily(string name)
|
||||
{
|
||||
foreach (FontFamily ff in FontFamily.Families)
|
||||
if (ff.Name == name) return ff;
|
||||
return null;
|
||||
}
|
||||
void frmVEPROMS_Deactivate(object sender, EventArgs e)
|
||||
{
|
||||
|
Reference in New Issue
Block a user