Exemple #1
0
 /// Add an CHTMLObject
 public void addObject(CHTMLObject value)
 {
     if (value != null)
     {
         CHTMLObjects.Add(value);
     }
 }
Exemple #2
0
 /// <summary>
 /// Set caption
 /// </summary>
 /// <param name="value"></param>
 public void setCaption(CHTMLObject value)
 {
     if (value != null)
     {
         _caption = value;
     }
 }
Exemple #3
0
 /// Remove an CHTMLObject
 public Boolean removeObject(CHTMLObject value)
 {
     if (value != null)
     {
         CHTMLObjects.Remove(value);
         return(true);
     }
     return(false);
 }
Exemple #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);
            }
        }