示例#1
0
        /// <inheritdoc />
        protected override void OnChildAdded(Instance instance)
        {
            var element = instance as GuiElement;

            if (element == null)
            {
                return;
            }
            lock (Locker)
            {
                _elements.Add(element);
            }
            element.Measured.Event += OnElementMeasured;
            _needsRearranged        = true;
        }
示例#2
0
 public void C5_SortedArray() => c5_sortedarray.Add(1);