Inheritance: System.Windows.Forms.UserControl
コード例 #1
0
 public override Control CreateControl(IRuleControlOwner owner, Control.ControlCollection collection, System.Drawing.Point pos)
 {
     InTemplateRuleControl rc = new InTemplateRuleControl(owner) {Location = pos};
     rc.RestoreFromRule(this);
     DisposeControl();
     ruleControl_ = rc;
     collection.Add(rc);
     return rc;
 }
コード例 #2
0
        public override Control CreateControl(IRuleControlOwner owner, Control.ControlCollection collection, System.Drawing.Point pos)
        {
            InTemplateRuleControl rc = new InTemplateRuleControl(owner);

            rc.Location = pos;
            rc.RestoreFromRule(this);
            DisposeControl();
            ruleControl_ = rc;
            collection.Add(rc);
            return(rc);
        }
コード例 #3
0
 public override void ForgetControl()
 {
     ruleControl_ = null;
 }
コード例 #4
0
 public override void ForgetControl()
 {
     ruleControl_ = null;
 }