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:
@@ -55,6 +55,7 @@ namespace Volian.Controls.Library
|
||||
get { return _MyDocVersion; }
|
||||
set
|
||||
{
|
||||
if (DesignMode) return; // B2019-043 need to check if we are just saving changes to the user interface
|
||||
_MyDocVersion = value;
|
||||
if (_MyDocVersion != null)
|
||||
{
|
||||
@@ -80,6 +81,7 @@ namespace Volian.Controls.Library
|
||||
get { return _MyROFSTLookup; }
|
||||
set
|
||||
{
|
||||
if (DesignMode) return; // B2019-043 need to check if we are just saving changes to the user interface
|
||||
//if (!Visible) return; // don't reset anything if the form is invisible.
|
||||
_MyROFSTLookup = value; // define the tree nodes based on this rofst
|
||||
advTreeROFillIn(true);
|
||||
|
Reference in New Issue
Block a user