📄 testourvalue.cs
字号:
using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Drawing;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Design;
using System.Workflow.ComponentModel.Compiler;
using System.Workflow.ComponentModel.Serialization;
using System.Workflow.Runtime;
using System.Workflow.Activities;
using System.Workflow.Activities.Rules;
namespace wxwinter.wf.TestWorkflow
{
public partial class testOurValue: SequenceActivity
{
public testOurValue()
{
InitializeComponent();
}
public static DependencyProperty OurValueProperty = System.Workflow.ComponentModel.DependencyProperty.Register("OurValue", typeof(string), typeof(testOurValue));
[Description("用TrackData输出OurValue,测试用")]
[Category("值")]
[Browsable(true)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
public string OurValue
{
get
{
return ((string)(base.GetValue(testOurValue.OurValueProperty)));
}
set
{
base.SetValue(testOurValue.OurValueProperty, value);
}
}
private void codeActivity1_ExecuteCode(object sender, EventArgs e)
{
this.TrackData("test", OurValue);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -