Пример #1
0
        public UserControl GetControl()
        {
            if (_control == null)
            {
                _control       = new PBLimiterUsercontrol(this);
                PBData.control = _control;
            }

            return(_control);
        }
Пример #2
0
 public UserControl GetControl() => _control ?? (_control = new PBLimiterUsercontrol(this));