Пример #1
0
        protected override void EndProcessing()
        {
            if (_Collector.Count == 1)
            {
                _panel.AddObject(_Collector[0]);
            }
            else
            {
                _panel.AddObjects(_Collector);
            }

            if (Return)
            {
                WriteObject(_panel);
            }
            else
            {
                _panel.OpenChild(null);
            }
        }
Пример #2
0
        protected override void EndProcessing()
        {
            if (_Collector.Count == 1)
            {
                _panel.AddObject(_Collector[0]);
            }
            else
            {
                _panel.AddObjects(_Collector);
            }

            if (Append)
            {
                _panel.UpdateRedraw(true);
            }
            else
            {
                _panel.OpenChild(null);
            }
        }