/*
         * Initialize
         */

        /// <summary>
        /// </summary>
        public override void Initialize(IComponent component)
        {
            Debug.Assert(component != null, "component != null");
            base.Initialize(component);

            if (component == null)
            {
                return;
            }

            _RibbonManager          = (NuGenRibbonManager)component;
            _RibbonManager.HostForm = this.GetHostForm();

            _ComponentChangeService = (IComponentChangeService)this.GetService(typeof(IComponentChangeService));
            Debug.Assert(_ComponentChangeService != null, "this.componentChangeService != null");

            if (_ComponentChangeService != null)
            {
                _ComponentChangeService.ComponentChanged += this.OnComponentChanged;
            }
        }
		/*
		 * Initialize
		 */

		/// <summary>
		/// </summary>
		public override void Initialize(IComponent component)
		{
			Debug.Assert(component != null, "component != null");
			base.Initialize(component);

			if (component == null)
			{
				return;
			}

			_RibbonManager = (NuGenRibbonManager)component;
			_RibbonManager.HostForm = this.GetHostForm();

			_ComponentChangeService = (IComponentChangeService)this.GetService(typeof(IComponentChangeService));
			Debug.Assert(_ComponentChangeService != null, "this.componentChangeService != null");

			if (_ComponentChangeService != null)
			{
				_ComponentChangeService.ComponentChanged += this.OnComponentChanged;
			}
		}