Example #1
0
        public void CreateVVariableRef()
        {
            var v = new VVariableRef(this);

            VariableRefs.Add(v);

            v.Parent = App.Form.workPanel;
            v.BringToFront();
        }
Example #2
0
 private void SetVariableRef(DraggableControl el)
 {
     varRef = (VVariableRef)el;
     if (el == null)
     {
         return;
     }
     varRef.Parent  = this;
     varRef.EParent = this;
     Hide(varPlaceHolder);
 }
Example #3
0
 public void OnChildDisconnect(DraggableControl c)
 {
     if (arg == c)
     {
         arg = null;
         Controls.Remove(c);
     }
     if (varRef == c)
     {
         varRef = null;
         Controls.Remove(c);
     }
 }
Example #4
0
 public void Disconnect(VVariableRef vRef)
 {
     VariableRefs.Remove(vRef);
 }
Example #5
0
 public void AttachVarRef(VVariableRef vRef)
 {
     VariableRefs.Add(vRef);
     vRef.SetInitVariable(this);
 }