protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (variableManager != null)
                {
                    variableManager.Dispose();
                }
            }

            variableManager = null;
            base.Dispose(disposing);
        }
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (VariableManager != null)
                {
                    VariableManager.Dispose();
                }
                if (CursorManager != null)
                {
                    CursorManager.Dispose();
                }
            }

            CursorManager   = null;
            VariableManager = null;
            base.Dispose(disposing);
        }