2 // System.Windows.Forms.ImageList.cs
5 // stubbed out by Daniel Carrera (dcarrera@math.toronto.edu)
6 // Dennis Hayes (dennish@raytek.com)
8 // (C) 2002/3 Ximian, Inc
10 using System.ComponentModel;
12 using System.Collections;
13 namespace System.Windows.Forms {
18 public sealed class ImageList : Component {
19 internal ColorDepth colorDepth;
20 ImageListStreamer ImageListStreamer_;
28 colorDepth = ColorDepth.Depth8Bit;
32 public ImageList(IContainer cont) : this()
34 ImageListStreamer_ = new ImageListStreamer();
38 // --- Public Properties
42 public ColorDepth ColorDepth {
52 public IntPtr Handle {
54 throw new NotImplementedException ();
59 public bool HandleCreated {
61 throw new NotImplementedException ();
66 public ImageList.ImageCollection Images {
68 throw new NotImplementedException ();
72 internal Size imageSize; //FIXME: just to get it to run
74 public Size ImageSize {
84 public ImageListStreamer ImageStream {
87 return ImageListStreamer_;
94 internal Color transparentColor; //FIXME: just to get it to run
96 public Color TransparentColor {
98 return transparentColor;
101 transparentColor = value;
106 // --- Public Methods
110 public void Draw(Graphics g, Point pt, int n)
116 public void Draw(Graphics g, int n1, int n2, int n3)
122 public override string ToString()
125 return base.ToString();
131 public event EventHandler RecreateHandle;
134 // System.Windows.Forms.ImageList.ImageCollection.cs
137 // stubbed out by Daniel Carrera (dcarrera@math.toronto.edu)
139 //// (C) 2002 Ximian, Inc
145 public sealed class ImageCollection : IList, ICollection, IEnumerable {
149 // --- Public Properties
155 throw new NotImplementedException ();
162 throw new NotImplementedException ();
167 public bool IsReadOnly {
169 throw new NotImplementedException ();
174 public Image this[int index] {
176 throw new NotImplementedException ();
179 throw new NotImplementedException ();
184 // --- Public Methods
188 public void Add(Icon icon)
194 public void Add(Image img)
200 public int Add(Image img, Color col)
202 throw new NotImplementedException ();
206 public int AddStrip(Image value)
208 throw new NotImplementedException ();
218 public bool Contains(Image image)
220 throw new NotImplementedException ();
224 public IEnumerator GetEnumerator()
226 throw new NotImplementedException ();
230 public int IndexOf(Image image)
232 throw new NotImplementedException ();
236 public void Remove(Image image)
242 public void RemoveAt(int index)
248 public override string ToString()
251 return base.ToString();
254 /// IList Interface implmentation.
256 bool IList.IsReadOnly{
258 // We allow addition, removeal, and editing of items after creation of the list.
262 bool IList.IsFixedSize{
264 // We allow addition and removeal of items after creation of the list.
270 object IList.this[int index]{
272 throw new NotImplementedException ();
285 int IList.Add( object value){
286 throw new NotImplementedException ();
290 bool IList.Contains( object value){
291 throw new NotImplementedException ();
295 int IList.IndexOf( object value){
296 throw new NotImplementedException ();
300 void IList.Insert(int index, object value){
305 void IList.Remove( object value){
310 void IList.RemoveAt( int index){
313 // End of IList interface
315 /// ICollection Interface implmentation.
317 int ICollection.Count{
319 throw new NotImplementedException ();
322 bool ICollection.IsSynchronized{
324 throw new NotImplementedException ();
327 object ICollection.SyncRoot{
329 throw new NotImplementedException ();
332 void ICollection.CopyTo(Array array, int index){
333 throw new NotImplementedException ();
335 // End Of ICollection