private void button2_Click(object sender, EventArgs e)
        {
            //initialForm();
            switch (this.comboBox1.SelectedIndex)
            {
            case 0:
                if (ConfigManager.SaveDBConnectString(DBType.sqlserver, this.txtConnString.Text))
                {
                    MessageBox.Show("保存成功!");
                }
                else
                {
                    MessageBox.Show("保存失败!");
                }
                break;

            case 1:
                if (ConfigManager.SaveDBConnectString(DBType.sqlite, this.txtConnString.Text))
                {
                    MessageBox.Show("保存成功!");
                }
                else
                {
                    MessageBox.Show("保存失败!");
                }
                break;
            }
        }