RestoreFromRule() публичный Метод

public RestoreFromRule ( Rule rule ) : void
rule Rule
Результат void
Пример #1
0
 public override void Restore()
 {
     if (ruleControl_ == null)
     {
         return;
     }
     ruleControl_.RestoreFromRule(this);
 }
Пример #2
0
 public override Control CreateControl(IRuleControlOwner owner, Control.ControlCollection collection, System.Drawing.Point pos)
 {
     RuleControl rc = new RuleControl(owner) {Location = pos};
     rc.RestoreFromRule(this);
     DisposeControl();
     ruleControl_ = rc;
     collection.Add(rc);
     return rc;
 }
Пример #3
0
        public override Control CreateControl(IRuleControlOwner owner, Control.ControlCollection collection, System.Drawing.Point pos)
        {
            RuleControl rc = new RuleControl(owner);

            rc.Location = pos;
            rc.RestoreFromRule(this);
            DisposeControl();
            ruleControl_ = rc;
            collection.Add(rc);
            return(rc);
        }