コード例 #1
0
        public override void ControlSetup(Statement name)
        {
            XmlArray ArrayName = (XmlArray)name;

            arrayType.SelectedIndex = ArrayName.Type;
            textBox1.Text           = ArrayName.Name;
            textBox2.Text           = ArrayName.ArrayNumber;
        }
コード例 #2
0
        public override Statement CreateProgramDefine()
        {
            XmlArray array = new XmlArray();

            array.Type        = arrayType.SelectedIndex;
            array.Name        = textBox1.Text;
            array.ArrayNumber = textBox2.Text;

            return(array);
        }