//连接 private void btnConnection_Click(object sender, EventArgs e) { ConnectionForm fm = new ConnectionForm(); if (fm.ShowDialog() == DialogResult.OK) { fmDAL.Initial(); fmProcedure.Initial(); } }
private void MainForm_Load(object sender, EventArgs e) { ConnectionForm fm = new ConnectionForm(); if (fm.ShowDialog() == DialogResult.OK) { fmDAL.Initial(); fmProcedure.Initial(); } lblStatus.Text = "生成类型:" + Config.CodeType; }