Пример #1
0
        private void ValidateContainerId()
        {
            int cnt = this.m_ClientOrderCollection[0].ClientOrderDetailCollection.Count - 1;

            YellowstonePathology.Business.Rules.ExecutionStatus executionStatus = new Business.Rules.ExecutionStatus();
            Rules.ContainerIdValidation containerIdValidation = new Rules.ContainerIdValidation(executionStatus);
            containerIdValidation.Execute(this.m_ContainerId, this.m_ClientOrder, this.m_ClientOrderCollection);

            if (executionStatus.Halted == true)
            {
                this.TextBlockMessage.Text = executionStatus.GetResultMessage();
            }
            else
            {
                this.DialogResult = true;
                this.Close();
            }
        }
        private void ValidateContainerId()
        {
            int cnt = this.m_ClientOrderCollection[0].ClientOrderDetailCollection.Count - 1;

            YellowstonePathology.Business.Rules.ExecutionStatus executionStatus = new Business.Rules.ExecutionStatus();
            Rules.ContainerIdValidation containerIdValidation = new Rules.ContainerIdValidation(executionStatus);
            containerIdValidation.Execute(this.m_ContainerId, this.m_ClientOrder, this.m_ClientOrderCollection);

            if (executionStatus.Halted == true)
            {
                this.TextBlockMessage.Text = executionStatus.GetResultMessage();
            }
            else
            {
                this.DialogResult = true;
                this.Close();
            }
        }