Exemple #1
0
		/// <summary>
		/// Allows inherited classes to construct the object, overiding default icons.
		/// </summary>
		/// <param name="guid">The items ID (GUID).</param>
		/// <param name="name">Name of item.</param>
		/// <param name="icon">Index of icon related to item.</param>
		/// <param name="openIcon">Icon related to the items open state.</param>
		protected QSetFolderItem(Guid guid, string name, Images.IconType icon, Images.IconType openIcon) 
			: base(guid, name, icon, openIcon)
		{
			CreateChildItemsCollection();
		}
Exemple #2
0
		/// <summary>
		/// Allows inherited classes to construct the object, overiding default icons.
		/// </summary>
		/// <param name="name">Name of item.</param>
		/// <param name="icon">Index of icon related to item.</param>
		protected QSetFolderItem(string name, Images.IconType icon) 
			: base(name, icon)
		{
			CreateChildItemsCollection();
		}
Exemple #3
0
		/// <summary>
		/// Constructs the object with the minumum requirements, and an additional icon to use when the item is open.
		/// </summary>
		/// <param name="guid">The items ID (GUID).</param>
		/// <param name="name">Name of QSet item.</param>
		/// <param name="icon">Index of icon related to item.</param>
		/// <param name="openIcon">Icon related to the items open state.</param>
		protected QSetItemBase(Guid guid, string name, Images.IconType icon, Images.IconType openIcon)
		{
			_guid = guid;
			_name = name;
			_icon = icon;
			_openIcon = openIcon;
		}
Exemple #4
0
		/// <summary>
		/// Constructs the object with the minumum requirements, and an additional icon 
		/// to use when the item is open. A new ID (GUID) will be created for the object.
		/// </summary>
		/// <param name="name">Name of QSet item.</param>
		/// <param name="icon">Index of icon related to item.</param>
		/// <param name="openIcon">Icon related to the items open state.</param>
		protected QSetItemBase(string name, Images.IconType icon, Images.IconType openIcon)
		{
			_guid = Guid.NewGuid();
			_name = name;
			_icon = icon;
			_openIcon = openIcon;
		}
		/// <summary>
		/// Constructs the object with all of the environments primary controls.
		/// </summary>
		/// <param name="qSetExplorer">Primary QSetExplorer.</param>
		/// <param name="qSetMonitor">Primary QSetMonitor.</param>
		/// <param name="propertyGrid">Primary property grid.</param>
		/// <param name="messageViewer">Primary MessageViewer.</param>
		/// <param name="documentContainer">Primary DocumentContainer.</param>
		/// <param name="images">Images component.</param>
		public PrimaryControls(
			QSetExplorer qSetExplorer,
			QSetMonitor qSetMonitor,
			PropertyGrid propertyGrid,
			MessageViewer messageViewer,
			TD.SandDock.DocumentContainer documentContainer,
			Images images)
		{
			_qSetExplorer = qSetExplorer;
			_qSetMonitor = qSetMonitor;
			_propertyGrid = propertyGrid;
			_messageViewer = messageViewer;
			_documentContainer = documentContainer;		
			_images = images;

			_messageBrowserCollection = new MessageBrowserCollection();
			_webServiceClientControlCollection = new WebServiceClientControlCollection();
		}