private void btnConfirm_Click(object sender, RoutedEventArgs e)
        {
            //插入
            DataSource.HexString hexString1 = new DataSource.HexString();
            hexString1.No   = tbChangeRow.CurrentValue;
            hexString1.Text = tbShowLineData.Text.Replace(" ", "");
            uint add = Convert.ToUInt32((hexString1.Text.Length - 11) / 2 / 2);

            m_HexList.HexStringCollection[tbChangeRow.CurrentValue].Text = hexString1.Text;

            DialogResult = true;
            //this.Close();
        }
        private void btnConfirm_Click(object sender, RoutedEventArgs e)
        {
            //插入
            DataSource.HexString hexString1 = new DataSource.HexString();
            hexString1.No   = tbInsertAfterRow.CurrentValue + 1;
            hexString1.Text = tbShowLineData.Text.Replace(" ", "");
            uint add = Convert.ToUInt32((hexString1.Text.Length - 11) / 2 / 2);

            //在后面插入
            m_HexList.HexStringCollection.Insert(tbInsertAfterRow.CurrentValue + 1, hexString1);

            for (int i = tbInsertAfterRow.CurrentValue + 2; i < m_HexList.HexStringCollection.Count; i++)
            {
                m_HexList.HexStringCollection[i].No++;
            }


            DialogResult = true;
            //this.Close();
        }