Beispiel #1
0
        public control_strand(System.Windows.Forms.Control ctrl, bool checkRequired = true) : base()
        {
            control_strand checkUIStrand = _UIThreadOnlyOneStrand.Value;

            if (null != checkUIStrand)
            {
                throw new repeat_exception(checkUIStrand);
            }
            _UIThreadOnlyOneStrand.Value = this;
            _checkRequired = checkRequired;
            _ctrl          = ctrl;
        }
Beispiel #2
0
 internal repeat_exception(control_strand strand)
 {
     _strand = strand;
 }