ToolboxItem.cs 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. // System.Drawing.Design.ToolboxItem.cs
  2. //
  3. // Author:
  4. // Alejandro Sánchez Acosta
  5. //
  6. // (C) Alejandro Sánchez Acosta
  7. using System.Collections;
  8. using System.ComponentModel;
  9. using System.Drawing;
  10. using System.Reflection;
  11. using System.Runtime.Serialization;
  12. namespace System.Drawing.Design
  13. {
  14. [Serializable]
  15. public class ToolboxItem : ISerializable
  16. {
  17. private AssemblyName assembly;
  18. private Bitmap bitmap;
  19. private ICollection filter;
  20. private string displayname;
  21. private bool locked;
  22. private string name;
  23. [MonoTODO]
  24. public ToolboxItem() {
  25. throw new NotImplementedException ();
  26. }
  27. [MonoTODO]
  28. public ToolboxItem (Type toolType) {
  29. throw new NotImplementedException ();
  30. }
  31. public AssemblyName AssemblyName {
  32. get {
  33. return assembly;
  34. }
  35. set {
  36. assembly = value;
  37. }
  38. }
  39. public Bitmap Bitmap {
  40. get {
  41. return bitmap;
  42. }
  43. set {
  44. bitmap = value;
  45. }
  46. }
  47. public string DisplayName {
  48. get {
  49. return displayname;
  50. }
  51. set {
  52. displayname = value;
  53. }
  54. }
  55. public ICollection Filter {
  56. get {
  57. return filter;
  58. }
  59. set {
  60. filter = value;
  61. }
  62. }
  63. protected bool Locked {
  64. get {
  65. return locked;
  66. }
  67. set {
  68. locked = value;
  69. }
  70. }
  71. public string TypeName {
  72. get {
  73. return name;
  74. }
  75. set {
  76. name = value;
  77. }
  78. }
  79. [MonoTODO]
  80. protected void CheckUnlocked ()
  81. {
  82. throw new NotImplementedException ();
  83. }
  84. [MonoTODO]
  85. public IComponent[] CreateComponents ()
  86. {
  87. throw new NotImplementedException ();
  88. }
  89. [MonoTODO]
  90. public IComponent[] CreateComponents (IDesignerHost host)
  91. {
  92. throw new NotImplementedException ();
  93. }
  94. [MonoTODO]
  95. protected virtual IComponent[] CreateComponentsCore (IDesignerHost host)
  96. {
  97. throw new NotImplementedException ();
  98. }
  99. [MonoTODO]
  100. protected virtual void Deserialize (SerializationInfo info, StreamingContext context)
  101. {
  102. throw new NotImplementedException ();
  103. }
  104. [MonoTODO]
  105. public override bool Equals (object obj)
  106. {
  107. throw new NotImplementedException ();
  108. }
  109. [MonoTODO]
  110. public override int GetHashCode ()
  111. {
  112. throw new NotImplementedException ();
  113. }
  114. [MonoTODO]
  115. protected virtual Type GetType (IDesignerHost host, AssemblyName assemblyName, string typeName, bool reference)
  116. {
  117. throw new NotImplementedException ();
  118. }
  119. [MonoTODO]
  120. public virtual void Initialize (Type type)
  121. {
  122. throw new NotImplementedException ();
  123. }
  124. [MonoTODO]
  125. void ISerializable.GetObjectData (SerializationInfo info, StreamingContext context)
  126. {
  127. throw new NotImplementedException ();
  128. }
  129. [MonoTODO]
  130. public void Lock ()
  131. {
  132. throw new NotImplementedException ();
  133. }
  134. [MonoTODO]
  135. protected virtual void OnComponentsCreated (ToolboxComponentsCreatedEventArgs args)
  136. {
  137. throw new NotImplementedException ();
  138. }
  139. [MonoTODO]
  140. protected virtual void OnComponentsCreating (ToolboxComponentsCreatingEventArgs args)
  141. {
  142. throw new NotImplementedException ();
  143. }
  144. [MonoTODO]
  145. protected virtual void Serialize (SerializationInfo info, StreamingContext context)
  146. {
  147. throw new NotImplementedException ();
  148. }
  149. [MonoTODO]
  150. public override string ToString()
  151. {
  152. throw new NotImplementedException ();
  153. }
  154. }
  155. }