示例#1
0
 /// Add an CHTMLObject
 public void addObject(CHTMLObject value)
 {
     if (value != null)
     {
         CHTMLObjects.Add(value);
     }
 }
示例#2
0
 /// <summary>
 /// Set caption
 /// </summary>
 /// <param name="value"></param>
 public void setCaption(CHTMLObject value)
 {
     if (value != null)
     {
         _caption = value;
     }
 }
示例#3
0
 /// Remove an CHTMLObject
 public Boolean removeObject(CHTMLObject value)
 {
     if (value != null)
     {
         CHTMLObjects.Remove(value);
         return(true);
     }
     return(false);
 }
示例#4
0
        /// <summary>
        /// Ctor
        /// </summary>
        /// <param name="href"></param>
        /// <param name="obj"></param>
        public CHTMLLink(string href, CHTMLObject obj)
        {
            if (href != null)
            {
                _href = href;
            }

            if (obj != null)
            {
                addObject(obj);
            }
        }