StatusBarPanelCollection.cs 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. //
  2. // System.Windows.Forms.StatusBarPanelCollection
  3. //
  4. // Author:
  5. // stubbed out by Richard Baumann ([email protected])
  6. // Dennis Hayes ([email protected])
  7. //
  8. // (C) Ximian, Inc., 2002
  9. //
  10. using System.Collections;
  11. namespace System.Windows.Forms {
  12. // <summary>
  13. // Represents the collection of panels in a StatusBar control.
  14. // </summary>
  15. public class StatusBarPanelCollection : IList, ICollection, IEnumerable {
  16. // --- Public Methods
  17. [MonoTODO]
  18. StatusBarPanelCollection(StatusBar owner)
  19. {
  20. throw new NotImplementedException ();
  21. }
  22. [MonoTODO]
  23. public virtual int Add(StatusBarPanel panel)
  24. {
  25. throw new NotImplementedException ();
  26. }
  27. [MonoTODO]
  28. public virtual StatusBarPanel Add(string s)
  29. {
  30. throw new NotImplementedException ();
  31. }
  32. [MonoTODO]
  33. public virtual void AddRange(StatusBarPanel[] panels)
  34. {
  35. throw new NotImplementedException ();
  36. }
  37. [MonoTODO]
  38. public virtual void Clear()
  39. {
  40. throw new NotImplementedException ();
  41. }
  42. [MonoTODO]
  43. public bool Contains(StatusBarPanel panel)
  44. {
  45. throw new NotImplementedException ();
  46. }
  47. [MonoTODO]
  48. public IEnumerator GetEnumerator()
  49. {
  50. throw new NotImplementedException ();
  51. }
  52. [MonoTODO]
  53. public int IndexOf(StatusBarPanel panel)
  54. {
  55. throw new NotImplementedException ();
  56. }
  57. [MonoTODO]
  58. public virtual void Insert(int index, StatusBarPanel panel)
  59. {
  60. throw new NotImplementedException ();
  61. }
  62. [MonoTODO]
  63. public virtual void Remove(StatusBarPanel panel)
  64. {
  65. throw new NotImplementedException ();
  66. }
  67. [MonoTODO]
  68. public virtual void RemoveAt(int index)
  69. {
  70. throw new NotImplementedException ();
  71. }
  72. // --- Protected Methods
  73. [MonoTODO]
  74. ~StatusBarPanelCollection()
  75. {
  76. throw new NotImplementedException ();
  77. }
  78. // --- Public Properties
  79. [MonoTODO]
  80. public int Count {
  81. get{ throw new NotImplementedException (); }
  82. }
  83. [MonoTODO]
  84. public bool IsReadOnly {
  85. get
  86. {
  87. return false; // for this collection, this is always false
  88. }
  89. }
  90. [MonoTODO]
  91. public virtual StatusBarPanel this[int index] {
  92. get{ throw new NotImplementedException (); }
  93. set{ throw new NotImplementedException (); }
  94. }
  95. /// <summary>
  96. /// IList Interface implmentation.
  97. /// </summary>
  98. bool IList.IsReadOnly{
  99. get{
  100. // We allow addition, removeal, and editing of items after creation of the list.
  101. return false;
  102. }
  103. }
  104. bool IList.IsFixedSize{
  105. get{
  106. // We allow addition and removeal of items after creation of the list.
  107. return false;
  108. }
  109. }
  110. //[MonoTODO]
  111. object IList.this[int index]{
  112. get{
  113. throw new NotImplementedException ();
  114. }
  115. set{
  116. throw new NotImplementedException ();
  117. }
  118. }
  119. [MonoTODO]
  120. void IList.Clear(){
  121. throw new NotImplementedException ();
  122. }
  123. [MonoTODO]
  124. int IList.Add( object value){
  125. throw new NotImplementedException ();
  126. }
  127. [MonoTODO]
  128. bool IList.Contains( object value){
  129. throw new NotImplementedException ();
  130. }
  131. [MonoTODO]
  132. int IList.IndexOf( object value){
  133. throw new NotImplementedException ();
  134. }
  135. [MonoTODO]
  136. void IList.Insert(int index, object value){
  137. throw new NotImplementedException ();
  138. }
  139. [MonoTODO]
  140. void IList.Remove( object value){
  141. throw new NotImplementedException ();
  142. }
  143. [MonoTODO]
  144. void IList.RemoveAt( int index){
  145. throw new NotImplementedException ();
  146. }
  147. // End of IList interface
  148. /// <summary>
  149. /// ICollection Interface implmentation.
  150. /// </summary>
  151. int ICollection.Count{
  152. get{
  153. throw new NotImplementedException ();
  154. }
  155. }
  156. bool ICollection.IsSynchronized{
  157. get{
  158. throw new NotImplementedException ();
  159. }
  160. }
  161. object ICollection.SyncRoot{
  162. get{
  163. throw new NotImplementedException ();
  164. }
  165. }
  166. void ICollection.CopyTo(Array array, int index){
  167. throw new NotImplementedException ();
  168. }
  169. // End Of ICollection
  170. }
  171. }