Exemplo n.º 1
0
 /// <summary>
 /// A type's Dispose method should release all the resources
 /// that it owns. It should also release all resources owned
 /// by its base types by calling its parent type's Dispose
 /// method.
 /// </summary>
 /// <param name="disposing"></param>
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         DisposeTemplateVerbs();
         desktopPanes = null;
     }
     this.Dispose(disposing);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initialize components
 /// </summary>
 /// <param name="component"></param>
 public override void Initialize(IComponent component)
 {
     desktopPanes = (DesktopPanes)component;
     base.Initialize(component);
 }
 /// <summary>
 /// Default constructor
 /// </summary>
 /// <param name="parent"></param>
 public DesktopPanesTemplate(DesktopPanes parent)
 {
     this.parent = parent;
 }