public Form4(List <string> _tables, Form2 _mapwindow, FPostGIS _pg) { tables = _tables; mapwindow = _mapwindow; pg = _pg; InitializeComponent(); }
private void button1_Click(object sender, EventArgs e) { string conn = "SERVER="; conn += textBox4.Text.ToString(); conn += (";DATABASE=" + textBox1.Text.ToString()); conn += (";USER ID=" + textBox2.Text.ToString()); conn += (";PASSWORD="******"用户名或密码错误!"); } }