XmlDesigner.cs 998 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /**
  2. * Namespace: System.Web.UI.Design.WebControls
  3. * Class: XmlDesigner
  4. *
  5. * Author: Gaurav Vaish
  6. * Maintainer: [email protected]
  7. *
  8. * (C) Gaurav Vaish (2002)
  9. */
  10. using System;
  11. using System.ComponentModel;
  12. using System.Web.UI.WebControls;
  13. using System.Web.UI.Design;
  14. namespace System.Web.UI.Design.WebControls
  15. {
  16. public class XmlDesigner : ControlDesigner
  17. {
  18. private System.Web.UI.WebControls.Xml xml;
  19. public XmlDesigner()
  20. {
  21. }
  22. public override void Initialize(IComponent component)
  23. {
  24. if(component is System.Web.UI.WebControls.Xml)
  25. {
  26. xml = (System.Web.UI.WebControls.Xml)component;
  27. }
  28. base.Initialize(component);
  29. }
  30. public override string GetDesignTimeHtml()
  31. {
  32. return GetEmptyDesignTimeHtml();
  33. }
  34. [MonoTODO]
  35. protected override string GetEmptyDesignTimeHtml()
  36. {
  37. throw new NotImplementedException();
  38. }
  39. protected override void Dispose(bool disposing)
  40. {
  41. if(disposing)
  42. xml = null;
  43. base.Dispose(disposing);
  44. }
  45. }
  46. }