Click here to Skip to main content
Click here to Skip to main content
Articles » Languages » C# » Windows Forms » Downloads
 
Add your own
alternative version

Non-transparent controls on a semi-transparent window

, 6 Jul 2006
The article describes the use and the principle of operation of semi-transparent controls with non-transparent child controls.
transparent_controls_demo.zip
TestSkinControl
App.ico
bin
Debug
KBSoft.Components.dll
TestSkinControl.exe
TestSkinControl.exe.manifest
TestSkinControl.csproj.user
transparent_controls_src.zip
Components
bin
components
common
components.csproj.user
skincomponents
///////////////////////////////////////////////////////////////////////////////
//
//  File:           Design.cs
//
//  Facility:		The unit contains the LabelCollection class.
//
//  Abstract:       The collection class of the LabelItem elements.
//
//  Environment:    VC 7.1
//
//  Author:         KB_Soft Group Ltd.
//
///////////////////////////////////////////////////////////////////////////////

using System;
using System.Collections;

namespace KBSoft.Components
{
	/// <summary>
	/// The class presenting the collection of text elements that are arranged	
	/// on SkinTooltip.
	/// </summary>
	public class LabelCollection : CollectionBase
	{
		#region Properties

		/// <summary>
		/// The class indexer.
		/// </summary>
		public LabelItem this[int index]
		{
			get{ return (LabelItem)List[index]; }
			set{ List[index] = value; }
		}

		#endregion

		#region Methods

		/// <summary>
		/// The method adding elements to the collection.
		/// </summary>
		/// <param name="item">������� ��� ����������.</param>
		/// <returns>returnes the index of the added element.</returns>
		public int Add( LabelItem item )
		{
			return List.Add( item );
		}

		/// <summary>
		/// The method deleting elements from the collection.
		/// </summary>
		/// <param name="item"> The element to be deleted. </param>
		public void Remove( LabelItem item )
		{
			List.Remove( item );
		}

		#endregion
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

Alexandr Golovanov
Web Developer
Russian Federation Russian Federation
Alexandr Golovanov is a .NET developer at KB_Soft Group, an offshore software development company located in Russia, Novosibirsk. Here he has worked
on various .NET projects.

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.141030.1 | Last Updated 6 Jul 2006
Article Copyright 2006 by Alexandr Golovanov
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid