示例#1
0
 //--------------
 public void ClearItems()
 {
     if (_items != null)
     {
         _items.Clear();
     }
     if (_div_floatingPart != null)
     {
         _div_floatingPart.ClearAllElements();
     }
 }
示例#2
0
 void ItemSelected(LayoutFarm.UI.UIEventArgs e)
 {
     //some item is selected
     if (e.SourceHitElement is DomElement)
     {
         DomElement domElem = (DomElement)e.SourceHitElement;
         if (domElem.Tag != null)
         {
             //selected value
             _span_textLabel.ClearAllElements();
             _span_textLabel.AddTextContent(domElem.Tag.ToString());
             NeedUpdateDom = true;
         }
     }
     e.StopPropagation();
     CloseHinge();
 }
示例#3
0
 //------------------------
 internal void ChildNotifyTabMouseDown(TabPage childPage)
 {
     //change content ***
     contentNode.ClearAllElements();
     contentNode.AddChild(childPage.GetPageBody(contentNode));
 }