Esempio n. 1
0
        private void TrataCamposJSON()
        {
            List <string> campos = new List <string>();

            campos.Add("JSON_INPUT");

            string eval = txb_LOGICAL_EVALUATION.Text;

            campos.Add(eval);

            FormEditaEval beforeParser = new FormEditaEval(campos);

            if (beforeParser.ShowDialog() == DialogResult.OK)
            {
                txb_LOGICAL_EVALUATION.Text = campos[1];
            }

            //campos = SeparaEntradas(txb_LOGICAL_EVALUATION.Text);

            //if (campos.Count > 0)
            //{
            //    FormEditaEval campoJson = new FormEditaEval(campos);

            //    if (campoJson.ShowDialog() == DialogResult.OK)
            //    {
            //        txb_LOGICAL_EVALUATION.Text = GeraJSON_INPUT(campos);
            //    }
            //}
        }
Esempio n. 2
0
        private void TrataBEFORE_PARSER()
        {
            List <string> campos = new List <string>();

            campos.Add("BEFORE_PARSER");

            string eval = txb_LOGICAL_EVALUATION.Text;

            campos.Add(eval);

            FormEditaEval beforeParser = new FormEditaEval(campos);

            if (beforeParser.ShowDialog() == DialogResult.OK)
            {
                txb_LOGICAL_EVALUATION.Text = campos[1];
            }
        }