Ejemplo n.º 1
0
        private void btnSelectVar_Click(object sender, EventArgs e)
        {
            FrmSelectVar tmpSelectVar = new FrmSelectVar(WorkflowId, "##");

            tmpSelectVar.ShowDialog();
            DialogResult dlr = tmpSelectVar.DialogResult;

            if (dlr == DialogResult.OK && tmpSelectVar.lvVar.SelectedItems.Count > 0)
            {
                tbxOpr7.Text = tbxOpr7.Text + "<%" + tmpSelectVar.lvVar.SelectedItems[0].Text + "%>";
            }
        }
Ejemplo n.º 2
0
        private void btnVarChoose_Click(object sender, EventArgs e)
        {
            var tmpSelectVar = new FrmSelectVar(NowLink.flowGuid, NowLink.startTask.TaskId);

            tmpSelectVar.ShowDialog();
            var dlr = tmpSelectVar.DialogResult;

            if (dlr == DialogResult.OK && tmpSelectVar.lvVar.SelectedItems.Count > 0)
            {
                tbxCondition.Text = tbxCondition.Text + @"<%" + tmpSelectVar.lvVar.SelectedItems[0].Text + @"%>";
            }
        }