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

@@ -165,6 +165,8 @@ namespace Volian.Controls.Library
}
void MyFlexGrid_SelChange(object sender, EventArgs e)
{
if (MyFlexGrid == null)
return;
if (MyFlexGrid.Selection.c1 < 0 || MyFlexGrid.Selection.r1 < 0)
return;
if (MyFlexGrid.Selection.c1 >= MyFlexGrid.Cols.Count || MyFlexGrid.Selection.r1 >= MyFlexGrid.Rows.Count)
@@ -276,7 +278,6 @@ namespace Volian.Controls.Library
DevComponents.DotNetBar.ButtonItem btnCM4 = GetCMButton(sym);
btnCM4.Click += new System.EventHandler(btnSym_Click);
gc4.SubItems.Add(btnCM4);
}
}
@@ -291,7 +292,6 @@ namespace Volian.Controls.Library
btnCM3.FontBold = true;
return btnCM3;
}
//void _MyStepRTB_ModeChange(object sender, StepRTBModeChangeEventArgs args)
//{
// SetButtonAndMenuEnabling(true);