Пример #1
0
        public void Add(T_subTradeItem subTrade)
        {
            var tmp = new Label()
            {
                Tag = subTrade.subtxcode, Visibility = Visibility.Visible, Content = subTrade.name
            };
            var item = DeserializeDesignerItem(TradeCode, value.ToString(), 180, 30, tmp, subTrade.conditionDic);

            Canvas.SetZIndex(item, 1);
            this.Children.Add(item);
            //value++;
            UpdateZIndex();
        }
Пример #2
0
 public void Add(T_subTradeItem subTrade)
 {
     var tmp=new Label() { Tag = subTrade.subtxcode, Visibility = Visibility.Visible, Content = subTrade.name };
     var item = DeserializeDesignerItem(TradeCode,value.ToString(), 180, 30, tmp, subTrade.conditionDic);
     Canvas.SetZIndex(item, 1);
     this.Children.Add(item);
     //value++;
     UpdateZIndex();
 }