Example #1
0
        public TreeNode Add(string Text, IHTMLImage Image)
        {
            var n = Add(Text);

            n.Element.OpenImage          = Image;
            n.Element.OpenImage.border   = 0;
            n.Element.ClosedImage        = (IHTMLImage)Image.cloneNode(true);
            n.Element.ClosedImage.border = 0;
            n.InternalUpdate();

            return(n);
        }
		public TreeNode Add(string Text, IHTMLImage Image)
		{
			var n = Add(Text);

			n.Element.OpenImage = Image;
			n.Element.OpenImage.border = 0;
			n.Element.ClosedImage = (IHTMLImage)Image.cloneNode(true);
			n.Element.ClosedImage.border = 0;
			n.InternalUpdate();

			return n;
		}