B2019-043 Added checks for being in design mode during initialization of variables

B2019-043 Added checks for being in design mode during initialization of variables.  Also needed to remove the parameter from the constructor
This commit is contained in:
2019-03-22 15:19:19 +00:00
parent 94f18653eb
commit b29176f636
11 changed files with 112 additions and 76 deletions

View File

@@ -910,6 +910,7 @@ namespace Volian.Controls.Library
get { return _SelectedDisplayTabItem; }
set
{
if (DesignMode) return; // B2019-043 need to check if we are just saving changes to the user interface
if (_SelectedDisplayTabItem != value)
{
if (_SelectedDisplayTabItem != null && _SelectedDisplayTabItem.MyDSOTabPanel != null)