Using Limit of 10 MSWord Sections - More than 10 was causing problems for DSO Framer. B2010-005 & B2010-006

This commit is contained in:
Rich
2011-01-03 19:56:29 +00:00
parent 78753f3dd0
commit 01c4a1e468
2 changed files with 4 additions and 3 deletions

View File

@@ -635,7 +635,7 @@ namespace Volian.Controls.Library
}
else
{
if (DSOTabPanel.Count > 18) // Limit the number of open document pages to 18
if (DSOTabPanel.Count >= DSOTabPanel.MSWordLimit) // Limit the number of open document pages to 18
{
MessageBox.Show("Too many Word Documents Open. Please close one of the Documents before attempting to open another");
return null;