public WindowElementBinder()
 {
     _bindings = new Dictionary<IWindowElement, List<IBinding>>();
     _logger = new DefaultActivityLogger();
     _persistantBindings = new SerializableBindings();
     //_logger.Tap.Register( new ActivityLoggerConsoleSink() );
 }
        public void Start()
        {
            _persistantBindings = (SerializableBindings)Config.User["SerializableBindings"];
            if( _persistantBindings == null ) _persistantBindings = (SerializableBindings)Config.System["SerializableBindings"];
            if( _persistantBindings == null ) _persistantBindings = new SerializableBindings();

            WindowManager.Service.Unregistered += WindowManager_Unregistered;
            WindowManager.Service.Registered += OnRegistered;
        }