|
using System;
namespace NeoTabControlLibrary
{
public sealed class TabPageRemovedEventArgs : EventArgs, IDisposable
{
#region Instance Member
private NeoTabPage tabPage = null;
private int tabPageIndex = -1;
#endregion
#region Constructor
public TabPageRemovedEventArgs(NeoTabPage tabPage, int tabPageIndex)
{
this.tabPage = tabPage;
this.tabPageIndex = tabPageIndex;
}
#endregion
#region Property
/// <summary>
/// Gets the zero-based index of the last removed NeoTabPage control from the collection.
/// </summary>
public int TabPageIndex
{
get { return tabPageIndex; }
}
/// <summary>
/// Gets the NeoTabPage control the event is occurring for.
/// </summary>
public NeoTabPage TabPage
{
get { return tabPage; }
}
#endregion
#region IDisposable Members
void IDisposable.Dispose()
{
GC.SuppressFinalize(this);
}
#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