Example #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     BLL.AppSettings bllAs = new BLL.AppSettings();
     if (bllAs.checkConnection())
     {
         MessageBox.Show("当前数据库可以成功连接");
     }
     else
     {
         MessageBox.Show("连接失败");
     }
 }
 public DiagramController(BLL.AppSettings config)
 {
     _config = config;
 }