示例#1
0
 public void AddClonedItem2Dom(IRegion cloneItem)
 {
     if (_activeView == null)
     {
         return;
     }
     IsDirty = true;
     if (cloneItem is IWidget)
     {
         _activeView.AddWidget(cloneItem as IWidget);
     }
     else if (cloneItem is IMaster)
     {
         _activeView.AddMaster(cloneItem as IMaster);
     }
 }