/// <summary> /// Workflow runtime thread hands control over to the WorkFlowControl thread /// and passes in setfocus parameters /// </summary> public void SetFocusReceive(IntPtr handle, int hostedAppId) { CustomerWorkflowManager form = (CustomerWorkflowManager)(Form.FromHandle(handle)); if (form != null) { form.SetFocus(hostedAppId); } }
/// <summary> /// Workflow runtime thread hands control over to the CustomerWorkflowManager thread /// and passes in doaction parameters /// </summary> public void DoActionReceive(IntPtr handle, string hostedAppName, string action) { CustomerWorkflowManager form = (CustomerWorkflowManager)(Form.FromHandle(handle)); if (form != null) { form.DoWorkflowAction(hostedAppName, action); } }