public void ShowOriginalImage()
        {
            int index = 0;
            SearchResultRecord record = SelectedResultRecord;

            if (record != null)
            {
                index = m_ResultSummary.SearchResultList.IndexOf(record);
            }
            DetailViewPageInfo.Index = index;

            // 用using 在Clear的时候m_EditImageForm 为null
            m_EditImageForm             = new EditImageForm(this);
            m_EditImageForm.FormClosed += new FormClosedEventHandler(EditImageForm_FormClosed);
            m_EditImageForm.ShowDialog();
        }
Exemple #2
0
        internal void ShowDetails()
        {
            int           index  = 0;
            AnalyseRecord record = SelectedAnalyseRecord;

            if (record != null)
            {
                index = m_Records.IndexOf(record);
            }

            PageInfo pageInfo = new PageInfo(1, m_Records.Count, index);

            //DetailViewPageInfo.Index = index;

            //// 用using 在Clear的时候m_EditImageForm 为null
            m_EditImageForm             = new EditImageForm(m_FileAccess, m_Records, index);
            m_EditImageForm.FormClosed += new FormClosedEventHandler(EditImageForm_FormClosed);
            m_EditImageForm.ShowDialog();
        }