|
using System;
using System.Collections.Generic;
using System.Text;
using Bulasoft.Common.Elements;
using System.Drawing;
namespace ConsoleApplication1.data
{
public class TreeItem : OwnedElement<TreeItemCollection>
{
public TreeItem()
{
}
private const string ParentName = "parent";
private TreeItem _parent;
[Serialization(ParentName)]
public TreeItem Parent
{
get { return _parent; }
set
{
if (_parent != value)
{
LogChange(ParentName, _parent, value);
_parent = value;
}
}
}
private const string StyleName = "style";
private Style _style;
[Serialization(StyleName)]
public Style Style
{
get
{
return _style;
}
set
{
{
if (value != _style)
{
LogChange(StyleName, _style, value);
_style = value;
}
}
}
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.