ImageList.cs 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381
  1. //
  2. // System.Windows.Forms.ImageList.cs
  3. //
  4. // Author:
  5. // stubbed out by Daniel Carrera ([email protected])
  6. // Dennis Hayes ([email protected])
  7. //
  8. // (C) 2002 Ximian, Inc
  9. //
  10. using System.ComponentModel;
  11. using System.Drawing;
  12. using System.Collections;
  13. namespace System.Windows.Forms {
  14. // <summary>
  15. // This is only a template. Nothing is implemented yet.
  16. //
  17. // </summary>
  18. public sealed class ImageList : Component {
  19. //
  20. // --- Constructor
  21. //
  22. [MonoTODO]
  23. public ImageList()
  24. {
  25. throw new NotImplementedException ();
  26. }
  27. [MonoTODO]
  28. public ImageList(IContainer cont)
  29. {
  30. throw new NotImplementedException ();
  31. }
  32. //
  33. // --- Public Properties
  34. //
  35. [MonoTODO]
  36. public ColorDepth ColorDepth {
  37. get {
  38. throw new NotImplementedException ();
  39. }
  40. }
  41. [MonoTODO]
  42. public IntPtr Handle {
  43. get {
  44. throw new NotImplementedException ();
  45. }
  46. }
  47. [MonoTODO]
  48. public bool HandleCreated {
  49. get {
  50. throw new NotImplementedException ();
  51. }
  52. }
  53. [MonoTODO]
  54. public ImageList.ImageCollection Images {
  55. get {
  56. throw new NotImplementedException ();
  57. }
  58. }
  59. [MonoTODO]
  60. public Size ImageSize {
  61. get {
  62. throw new NotImplementedException ();
  63. }
  64. set {
  65. throw new NotImplementedException ();
  66. }
  67. }
  68. [MonoTODO]
  69. public ImageListStreamer ImageStream {
  70. get {
  71. throw new NotImplementedException ();
  72. }
  73. set {
  74. throw new NotImplementedException ();
  75. }
  76. }
  77. [MonoTODO]
  78. public Color TransparentColor {
  79. get {
  80. throw new NotImplementedException ();
  81. }
  82. set {
  83. throw new NotImplementedException ();
  84. }
  85. }
  86. //
  87. // --- Public Methods
  88. //
  89. //public void Dispose()
  90. //{
  91. // throw new NotImplementedException ();
  92. //}
  93. [MonoTODO]
  94. public void Draw(Graphics g, Point pt, int n)
  95. {
  96. throw new NotImplementedException ();
  97. }
  98. [MonoTODO]
  99. public void Draw(Graphics g, int n1, int n2, int n3)
  100. {
  101. throw new NotImplementedException ();
  102. }
  103. [MonoTODO]
  104. public override bool Equals(object o)
  105. {
  106. throw new NotImplementedException ();
  107. }
  108. //public static bool Equals(object o1, object o2)
  109. //{
  110. // throw new NotImplementedException ();
  111. //}
  112. [MonoTODO]
  113. public override int GetHashCode() {
  114. //FIXME add our proprities
  115. return base.GetHashCode();
  116. }
  117. [MonoTODO]
  118. public override string ToString()
  119. {
  120. throw new NotImplementedException ();
  121. }
  122. //
  123. // --- Public Events
  124. //
  125. public event EventHandler RecreateHandle;
  126. //
  127. // --- Protected Methods
  128. //
  129. //[MonoTODO]
  130. //protected virtual void Dispose(bool disposing)
  131. //{
  132. // throw new NotImplementedException ();
  133. //}
  134. //
  135. // System.Windows.Forms.ImageList.ImageCollection.cs
  136. //
  137. // Author:
  138. // stubbed out by Daniel Carrera ([email protected])
  139. //
  140. //// (C) 2002 Ximian, Inc
  141. ////
  142. // <summary>
  143. // This is only a template. Nothing is implemented yet.
  144. //
  145. // </summary>
  146. public sealed class ImageCollection : IList, ICollection, IEnumerable {
  147. //
  148. // --- Public Properties
  149. //
  150. [MonoTODO]
  151. public int Count {
  152. get {
  153. throw new NotImplementedException ();
  154. }
  155. }
  156. [MonoTODO]
  157. public bool Empty {
  158. get {
  159. throw new NotImplementedException ();
  160. }
  161. }
  162. [MonoTODO]
  163. public bool IsReadOnly {
  164. get {
  165. throw new NotImplementedException ();
  166. }
  167. }
  168. [MonoTODO]
  169. public Image this[int index] {
  170. get {
  171. throw new NotImplementedException ();
  172. }
  173. set {
  174. throw new NotImplementedException ();
  175. }
  176. }
  177. //
  178. // --- Public Methods
  179. //
  180. [MonoTODO]
  181. public void Add(Icon icon)
  182. {
  183. throw new NotImplementedException ();
  184. }
  185. [MonoTODO]
  186. public void Add(Image img)
  187. {
  188. throw new NotImplementedException ();
  189. }
  190. [MonoTODO]
  191. public int Add(Image img, Color col)
  192. {
  193. throw new NotImplementedException ();
  194. }
  195. [MonoTODO]
  196. public int AddStrip(Image value)
  197. {
  198. throw new NotImplementedException ();
  199. }
  200. [MonoTODO]
  201. public void Clear()
  202. {
  203. throw new NotImplementedException ();
  204. }
  205. [MonoTODO]
  206. public bool Contains(Image image)
  207. {
  208. throw new NotImplementedException ();
  209. }
  210. [MonoTODO]
  211. public override bool Equals(object o)
  212. {
  213. throw new NotImplementedException ();
  214. }
  215. //public static bool Equals(object o1, object o2)
  216. //{
  217. // throw new NotImplementedException ();
  218. //}
  219. [MonoTODO]
  220. public override int GetHashCode() {
  221. //FIXME add our proprities
  222. return base.GetHashCode();
  223. }
  224. [MonoTODO]
  225. public IEnumerator GetEnumerator()
  226. {
  227. throw new NotImplementedException ();
  228. }
  229. [MonoTODO]
  230. public int IndexOf(Image image)
  231. {
  232. throw new NotImplementedException ();
  233. }
  234. [MonoTODO]
  235. public void Remove(Image image)
  236. {
  237. throw new NotImplementedException ();
  238. }
  239. [MonoTODO]
  240. public void RemoveAt(int index)
  241. {
  242. throw new NotImplementedException ();
  243. }
  244. [MonoTODO]
  245. public override string ToString()
  246. {
  247. throw new NotImplementedException ();
  248. }
  249. /// <summary>
  250. /// IList Interface implmentation.
  251. /// </summary>
  252. bool IList.IsReadOnly{
  253. get{
  254. // We allow addition, removeal, and editing of items after creation of the list.
  255. return false;
  256. }
  257. }
  258. bool IList.IsFixedSize{
  259. get{
  260. // We allow addition and removeal of items after creation of the list.
  261. return false;
  262. }
  263. }
  264. //[MonoTODO]
  265. object IList.this[int index]{
  266. get{
  267. throw new NotImplementedException ();
  268. }
  269. set{
  270. throw new NotImplementedException ();
  271. }
  272. }
  273. [MonoTODO]
  274. void IList.Clear(){
  275. throw new NotImplementedException ();
  276. }
  277. [MonoTODO]
  278. int IList.Add( object value){
  279. throw new NotImplementedException ();
  280. }
  281. [MonoTODO]
  282. bool IList.Contains( object value){
  283. throw new NotImplementedException ();
  284. }
  285. [MonoTODO]
  286. int IList.IndexOf( object value){
  287. throw new NotImplementedException ();
  288. }
  289. [MonoTODO]
  290. void IList.Insert(int index, object value){
  291. throw new NotImplementedException ();
  292. }
  293. [MonoTODO]
  294. void IList.Remove( object value){
  295. throw new NotImplementedException ();
  296. }
  297. [MonoTODO]
  298. void IList.RemoveAt( int index){
  299. throw new NotImplementedException ();
  300. }
  301. // End of IList interface
  302. /// <summary>
  303. /// ICollection Interface implmentation.
  304. /// </summary>
  305. int ICollection.Count{
  306. get{
  307. throw new NotImplementedException ();
  308. }
  309. }
  310. bool ICollection.IsSynchronized{
  311. get{
  312. throw new NotImplementedException ();
  313. }
  314. }
  315. object ICollection.SyncRoot{
  316. get{
  317. throw new NotImplementedException ();
  318. }
  319. }
  320. void ICollection.CopyTo(Array array, int index){
  321. throw new NotImplementedException ();
  322. }
  323. // End Of ICollection
  324. }// End of Subclass
  325. }//End of class
  326. }