public myRequest(int numberOfLists) { controls_ = new ControlArgs[numberOfLists][]; emptyControls = true; for (int i = 0; i < numberOfLists; i++) { controls_[i] = new ControlArgs[1]; } returnArrN = 0; myText = "null"; }
public void setControls_(List <ControlArgs> listI, int index) { emptyControls = false; controls_[index] = new ControlArgs[listI.Count]; int i = 0; foreach (ControlArgs j in listI) { controls_[index][i] = j; i++; } }