/// <summary> /// Action triggered when button clicked /// </summary> public void ButtonClicked() { //List<float> list = new List<float>(new float[]{ 460, 12, 420, 5 }); //PythonFun.RunPython("pi*((dk+a)^2-(d1+2*r)^2)/4",list, "dk+a+d1+r", 6); VariablesList.Add(Structure.UpdateList(VariableInput, VariablesList.ToList()).Last()); VariableInput = new Variable(); }
public void AddVariable(double value) { VariablesList.Add(value); }