|
using System;
using System.Windows.Forms;
namespace NeoTabControlLibrary
{
[System.ComponentModel.Editor(typeof(NeoTabControlLibrary.Design.NeoTabPageCollectionEditor),
typeof(System.Drawing.Design.UITypeEditor))]
public class NeoTabPageControlCollection : Control.ControlCollection
{
#region Constructor
public NeoTabPageControlCollection(Control owner)
: base(owner)
{ }
#endregion
#region Destructor
~NeoTabPageControlCollection()
{
GC.SuppressFinalize(this);
}
#endregion
#region Override Methods
public override void Add(Control value)
{
if (value is NeoTabPage)
base.Add(value);
else
throw new NotSupportedException("Only, NeoTabPage controls can be added to a NeoTabWindow control.");
}
#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.
Since 1998...
MCPD - Enterprise Application Developer
“Hesaplı hareket ettiğini zanneden ve onunla iftihar eyliyen dar kafalar; kurtulmağa, yükselmeğe elverişli hiç bir eser vücüda getirmezler. Kurtuluş ve yükselişi, ancak varlığına dayanan ve mülkü milletin gizli kapalı hazinelerini verimli hale getirmesini bilen, şahsi menfaatini millet menfaati uğruna feda eden, ruhu idealist, dimağı realist şahsiyetlerde aramalıdır.”
Nuri Demirağ, 1947