private void WorkflowGetCompleted(Object sender, Server.Application.WorkflowGetCompletedEventArgs e)
        {
            GlobalProgressBarHide("Workflow");

            if ((!e.Cancelled) && (e.Error == null) && (e.Result != null))
            {
                workflow = new Workflow(Application, e.Result);

                NotifyPropertyChanged("Workflow");
            }

            return;
        }
示例#2
0
        public void Initialize_WorkflowGetCompleted(Object sender, Server.Application.WorkflowGetCompletedEventArgs e)
        {
            if (SetExceptionMessage(e))
            {
                return;
            }


            // ASSIGN WORKFLOW TO THE TAG PROPERTY

            WorkQueueGetWorkButton.Content = ((e.Result != null) ? e.Result.Name : "(manual)");

            WorkQueueGetWorkButton.Tag = e.Result;


            // UPDATE COUNT ON WORK QUEUE SELECTION

            InitializeAvailableCount();

            return;
        }