private void btn_Edit_Click(object sender, EventArgs e)
        {
            try
            {
                DataGridViewSelectedRowCollection rows = dataGridView1.SelectedRows;
                if (rows == null || rows.Count <= 0)
                {
                    MessageBox.Show("请先选择要修改的行", "提示");
                    return;
                }
                DataGridViewRow row = rows[0];

                CountryTestModify edit = new CountryTestModify();
                edit.UniqueId = Convert.ToInt32(row.Cells["UniqueId"].Value);

                edit.ShowDialog();

                dataGridView1.DataSource = null;
                dataGridView1.DataSource = SysConfig.clientConfig.AllCountryTest;
            }
            catch (Exception ex)
            {
                LogMg.AddError(ex);
            }
        }
        private void btn_Add_Click(object sender, EventArgs e)
        {
            CountryTestModify test = new CountryTestModify();

            test.ShowDialog();

            dataGridView1.DataSource = null;
            dataGridView1.DataSource = SysConfig.clientConfig.AllCountryTest;
        }