Exemple #1
0
 public override void Restore()
 {
     if (ruleControl_ == null)
     {
         return;
     }
     ruleControl_.RestoreFromRule(this);
 }
 public override Control CreateControl(IRuleControlOwner owner, Control.ControlCollection collection, System.Drawing.Point pos)
 {
     TemplateParamRuleControl rc = new TemplateParamRuleControl(owner);
     rc.Location = pos;
     rc.RestoreFromRule(this);
     DisposeControl();
     ruleControl_ = rc;
     collection.Add(rc);
     return rc;
 }
        public override Control CreateControl(IRuleControlOwner owner, Control.ControlCollection collection, System.Drawing.Point pos)
        {
            TemplateParamRuleControl rc = new TemplateParamRuleControl(owner);

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