Beispiel #1
0
        /// <summary>
        /// Constructs the object with the minum requirements.
        /// </summary>
        /// <param name="primaryMenus">Primary menus.</param>
        /// <param name="primaryControls">Primary controls.</param>
        /// <param name="primaryForms">Primary forms.</param>
        /// <param name="primaryObjects">Primary objects.</param>
        public TaskManager(
            PrimaryMenus primaryMenus,
            PrimaryControls primaryControls,
            PrimaryForms primaryForms,
            PrimaryObjects primaryObjects)
        {
            _primaryMenus    = primaryMenus;
            _primaryControls = primaryControls;
            _primaryForms    = primaryForms;
            _primaryObjects  = primaryObjects;

            _menuStateManager = new MenuStateManager(_primaryControls);
            _queueTaskManager = new QueueTaskManager(this, _primaryControls, _primaryObjects, _primaryForms);
            _webTaskManager   = new WebTaskManager(this, _primaryControls, _primaryObjects, _primaryForms);
        }
Beispiel #2
0
		/// <summary>
		/// Constructs the object with the minum requirements.
		/// </summary>
		/// <param name="primaryMenus">Primary menus.</param>
		/// <param name="primaryControls">Primary controls.</param>
		/// <param name="primaryForms">Primary forms.</param>
		/// <param name="primaryObjects">Primary objects.</param>
		public TaskManager(
			PrimaryMenus primaryMenus, 
			PrimaryControls primaryControls,
			PrimaryForms primaryForms,
			PrimaryObjects primaryObjects)
		{
			_primaryMenus = primaryMenus;
			_primaryControls = primaryControls;			
			_primaryForms = primaryForms;
			_primaryObjects = primaryObjects;
			
			_menuStateManager = new MenuStateManager(_primaryControls);			
			_queueTaskManager = new QueueTaskManager(this, _primaryControls, _primaryObjects, _primaryForms);
			_webTaskManager = new WebTaskManager(this, _primaryControls, _primaryObjects, _primaryForms);
			
			primaryControls.QSetExplorer.ImageList = primaryControls.Images.Icon16ImageList;
			primaryControls.QSetMonitor.ImageList = primaryControls.Images.Icon16ImageList;
		}