Warps.Controls.VariableEditor GetEditor() { Warps.Controls.VariableEditor eq = new Warps.Controls.VariableEditor(Label, EquationText); //eq.AutoFillData = sail.GetAutoFillData(this).ToArray(); //eq.sail = sail; return eq; }
public Warps.Controls.VariableEditor WriteEditor(Warps.Controls.VariableEditor edit) { if (edit == null) edit = new Warps.Controls.VariableEditor(Label, EquationText); Warps.Controls.VariableEditor ee = edit as Warps.Controls.VariableEditor; if (ee == null) ee = new Warps.Controls.VariableEditor(Label, EquationText); //ee.sail = sail; //if(sail!=null) // ee.AutoFillData = sail.GetAutoFillData(this).ToArray(); ee.Tag = GetType(); //ee.Label = GetType().Name; return edit; }