|
/////////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2003 - Don Kackman
//
// Distribute and change freely, but please don't remove my name from the source
//
// No warrantee of any kind, express or implied, is included with this
// software; use at your own risk, responsibility for damages (if any) to
// anyone resulting from the use of this software rests entirely with the
// user.
//
// The class CVisualStylesXp and the conept of theme browser app are borrowed from
// David Y Zhao. His example can be seen at http://www.codeproject.com/w2k/xpvisualstyle.asp
//
// questions - contact me at dkackman_2000@yahoo.com
//
#pragma once
#include "ThemeItemEnumerator.h"
using namespace System::Collections;
namespace System
{ namespace Windows
{ namespace Forms
{ namespace Themes
{
//
// PropTableEntryCollection and its derived class encapsulate the
// organization of the property table defined in tmschema.h and schemadef.h.
//
// For a description of the organization of this data see the Themes.txt file
//
__gc __abstract public class ThemeItemCollection : public IThemeItemCollection
{
private protected:
ThemeItemCollection( int startIndex );
ThemeItemCollection(){}
private:
~ThemeItemCollection(void);
public:
__property int get_Count();
__property System::Object* get_SyncRoot(){ return this; }
__property bool get_IsSynchronized(){ return false; }
void CopyTo( System::Array*, int );
System::Collections::IEnumerator* GetEnumerator(){ return new ThemeItemEnumerator( this ); }
private protected:
int m_StartIndex;
int GetItemTableIndex( int localIndex );
int GetItemTableIndex( String* name );
};
}
}
}
}
|
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.