|
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
namespace ABSTreeSaver
{
#region DISCLAIMER
/* THE CLASS IS PROVIDED "AS IS". ANY ECONOMIC (OR OTHERWISE)
/* LOSS/DAMAGE INCURRED DIRECTLY OR INDIRECTLY BECAUSE OF THIS
/* CLASS IS TO BE BEARED BY THE USER. THE AUTHOR IS IN NO WAY
/* RESPONSIBLE FOR ANY SUCH LOSS/DAMAGE.*/
#endregion
[Serializable]
public class STreeNode
{
#region USER DEFINED VARIABLES
string name=String.Empty;
int imageIndex=-1;
int selectedImageIndex = -1;
string tag=String.Empty;
string text = String.Empty;
string toolTipText = String.Empty;
List<STreeNode> nodes=new List<STreeNode>();
#endregion
#region PROPERTIES
public string Name
{
get { return name; }
set { name = value; }
}
public int ImageIndex
{
get { return imageIndex; }
set { imageIndex=value; }
}
public int SelectedImageIndex
{
get { return selectedImageIndex; }
set { selectedImageIndex = value; }
}
public string Tag
{
get { return tag; }
set { tag=value; }
}
public string ToolTipText
{
get { return toolTipText; }
set { toolTipText=value; }
}
public string Text
{
get { return text; }
set { text = value; }
}
public List<STreeNode> Nodes
{
get { return nodes; }
set { nodes=value; }
}
#endregion
public STreeNode()
{
}
}
}
|
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.
Sid loves programming and has technical experience developing desktop based solutions using C#.Net, Winforms, WPF.
He has experience of Software services, I-Banks and Product development environments.
He also has a deep understanding of Product Development Lifecycle and Agile methodology of developing softwares.
Besides programming he is also fond of music, photography and cooking.
He lives in Bangalore.