private void treeElements_AfterSelect(object sender, TreeViewEventArgs e)
        {
            _preview.BeginUpdate();
            _preview.HighlightedElements.Clear();

            foreach (var node in treeElements.SelectedElementNodes)
            {
                HighlightNode(node);
            }

            if (!_preview.SelectedDisplayItems.Any())
            {
                _preview.propertiesForm.ClearSetupControl();
            }

            _preview.EndUpdate();
        }
Пример #2
0
 private void SetupControlPropertyEdited(object sender, EventArgs e)
 {
     _previewControl.EndUpdate();
 }