예제 #1
0
        /// <summary>
        /// 添加动作表达式事件
        /// </summary>
        /// <param name="sender">事件发送者</param>
        /// <param name="e">事件数据</param>
        private void AddActionExp_Click(object sender, EventArgs e)
        {
            ProcessForm2 frm = new ProcessForm2(this.ControlAtrribute, Action[AselectIndex][2]);

            frm.ShowDialog();
            if (frm.DialogResult == DialogResult.OK)
            {
                this.ExpBox.Text        = frm.tempExp;
                Action[AselectIndex][2] = frm.tempExp;
            }
        }
예제 #2
0
        /// <summary>
        /// 添加条件表达式事件
        /// </summary>
        /// <param name="sender">事件发送者</param>
        /// <param name="e">事件数据</param>
        private void AddCondition_Click(object sender, EventArgs e)
        {
            ProcessForm2 frm = new ProcessForm2(this.ControlAtrribute, Condition[CselectIndex]);

            frm.ShowDialog();
            if (frm.DialogResult == DialogResult.OK)
            {
                this.ConditionExp.Text  = frm.tempExp;
                Condition[CselectIndex] = frm.tempExp;
            }
        }
 /// <summary>
 /// 添加条件表达式事件
 /// </summary>
 /// <param name="sender">事件发送者</param>
 /// <param name="e">事件数据</param>      
 private void AddCondition_Click(object sender, EventArgs e)
 {
     ProcessForm2 frm = new ProcessForm2(this.ControlAtrribute, Condition[CselectIndex]);
     frm.ShowDialog();
     if (frm.DialogResult == DialogResult.OK)
     {
         this.ConditionExp.Text = frm.tempExp;
         Condition[CselectIndex] = frm.tempExp;
     }
 }
 /// <summary>
 /// 动作赋值结果修改事件
 /// </summary>
 /// <param name="sender">事件发送者</param>
 /// <param name="e">事件数据</param>      
 private void AddActionResult_Click(object sender, EventArgs e)
 {
     ProcessForm2 frm = new ProcessForm2(this.ControlAtrribute, Action[AselectIndex][1]);
     frm.ShowDialog();
     if (frm.DialogResult == DialogResult.OK)
     {
         this.EvaluateExp.Text = frm.tempExp;
         Action[AselectIndex][1] = frm.tempExp;
     }
 }