private void btStop_Click(object sender, EventArgs e) { if (JFWorkCmdResult.Success != _methodFlow.Stop(1000)) { ShowTips("停止工作流失败,即将强行停止工作流线程!"); _methodFlow.Abort(); } }