Example #1
0
 private void btn_OK_Click(object sender, EventArgs e)
 {
     if (DBName.Count != 0)
     {
         se.ServerDBName = new List <string>(DBName);
         IToolService tool = new ToolService();
         tool.WriteXml(se);
         this.Close();
     }
     else
     {
         MessageBox.Show("请先进行连接测试");
     }
 }