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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user