Пример #1
0
 public void Display(ColumnTargetItem item)
 {
     update            = false;
     this.ColumnTarget = item;
     if (item != null)
     {
         this.Index = item.columnIndex + 1;
     }
     update = true;
 }
Пример #2
0
        public void AddItemPanel(ColumnTargetItem item, int index, String colName)
        {
            ColumnsItems col = new ColumnsItems(index);

            col.OnRemoveColumnItem += itemPanel_OnRemoveColumn;
            col.OnSelectColumnItem += itemPanel_OnSelectColumnItem;
            if (isAutomaticTarget)
            {
                col.OnSelectTarget += itemPanel_OnSelectTarget;
            }
            this.panel.Children.Add(col);
            col.comboBoxColunm.SelectedItem = colName;
        }
Пример #3
0
 public ColumnsItems(ColumnTargetItem item, bool isAutomaticTarget)
     : this(item)
 {
     this.comboBoxOperator.Visibility = isAutomaticTarget ? Visibility.Visible : Visibility.Collapsed;
 }
Пример #4
0
 public ColumnsItems(ColumnTargetItem item) : this()
 {
     InitializeHandlers();
     Display(item);
 }