public override void DataBind() { if (DataItem != null) { BlockActivityType type = WorkflowActivityWrapper.GetBlockActivityType(DataItem); CHelper.SafeSelect(BlockTypeList, ((int)type).ToString()); } }
public override void DataBind() { BlockTypeLabel.Text = string.Empty; if (DataItem != null) { BlockActivityType type = WorkflowActivityWrapper.GetBlockActivityType(DataItem); if (type == BlockActivityType.All) { BlockTypeLabel.Text = GetGlobalResourceObject("IbnFramework.BusinessProcess", "BlockActivityTypeAll").ToString(); } else if (type == BlockActivityType.Any) { BlockTypeLabel.Text = GetGlobalResourceObject("IbnFramework.BusinessProcess", "BlockActivityTypeAny").ToString(); } } }