public override Statement CreateProgramDefine()
        {
            XmlVariable var = new XmlVariable();

            var.Type       = comboBox1.SelectedIndex;
            var.Name       = this.textBox1.Text;
            var.Value      = textBox2.Text;
            var.Substitute = checkBox1.Checked;
            return(var);
        }
        public override void ControlSetup(Statement name)
        {
            XmlVariable VarName = ((XmlVariable)name);

            textBox1.Text           = VarName.Name;
            comboBox1.SelectedIndex = VarName.Type;
            checkBox1.Checked       = VarName.Substitute;
            if (VarName.Substitute)
            {
                textBox2.Text = VarName.Value;
            }
        }