Example #1
0
        public override Statement CreateProgramDefine()
        {
            XmlImputC Imput = new XmlImputC();

            Imput.Variable = comboBox1.Text;
            return(Imput);
        }
Example #2
0
        public override void ControlSetup(Statement name)
        {
            XmlImputC     ImputName = (XmlImputC)name;
            List <String> vList     = Util.GetVariableList(this, 2);

            this.comboBox1.Items.Clear();
            this.comboBox1.Items.AddRange(vList.ToArray());
            comboBox1.SelectedItem = ImputName.Variable;
        }