示例#1
0
        private void m_cmdSearch_Click(object sender, EventArgs e)
        {
            frmHistorySearch histroySearch = new frmHistorySearch();

            if (histroySearch.ShowDialog() == DialogResult.Yes)
            {
                if (!string.IsNullOrEmpty(histroySearch.BoardNo))
                {
                    clsST360CheckResultVO[] arrCheckResult = null;
                    clsST360CheckResultSmp.s_object.m_lngFind(histroySearch.BoardNo, out arrCheckResult);

                    foreach (clsST360CheckResultVO checkResult in arrCheckResult)
                    {
                        foreach (clsSTBoardItem boardItem in m_lstBoard)
                        {
                            if (checkResult.m_intSampleId == boardItem.Sequence)
                            {
                                boardItem.DataNum = checkResult.m_strResultNum;
                                boardItem.BoardStyle.SampleStyle   = checkResult.m_enmSampelType;
                                boardItem.BoardStyle.SampleStyleNo = checkResult.m_intTemplateNo;
                                boardItem.IsPositive = checkResult.m_IsPositive;
                            }
                        }
                    }

                    DisplayCheckResult(enmSTTextBoxShowStatus.ResultNum);

                    this.m_cmdAnalysis.Enabled   = false;
                    this.m_cmdSubmitData.Enabled = false;
                    m_lstCheckResults            = null;
                }
            }
        }
示例#2
0
        private void m_cmdSearch_Click(object sender, EventArgs e)
        {
            frmHistorySearch histroySearch = new frmHistorySearch();

            if (histroySearch.ShowDialog() == DialogResult.Yes)
            {
                if (!string.IsNullOrEmpty(histroySearch.BoardNo))
                {
                    manager.ReadHistory(histroySearch.BoardNo);

                    this.m_cmdAnalysis.Enabled   = false;
                    this.m_cmdSubmitData.Enabled = false;
                    m_lstCheckResults            = null;
                }
            }
        }