public override void ControlSetup(Statement name) { XmlArray ArrayName = (XmlArray)name; arrayType.SelectedIndex = ArrayName.Type; textBox1.Text = ArrayName.Name; textBox2.Text = ArrayName.ArrayNumber; }
public override Statement CreateProgramDefine() { XmlArray array = new XmlArray(); array.Type = arrayType.SelectedIndex; array.Name = textBox1.Text; array.ArrayNumber = textBox2.Text; return(array); }