private void rbChoose_CheckedChanged(object sender, EventArgs e) { if (this.rbChoose.Checked) { frmDbConnectionManage frm = new frmDbConnectionManage(this.DatabaseType) { IsForSelecting = true }; if (frm.ShowDialog() == DialogResult.OK) { this.ucDbAccountInfo.LoadData(frm.SelectedAccountProfileInfo); } } }
private void tsmiDbConnection_Click(object sender, EventArgs e) { frmDbConnectionManage frmDbConnectionManage = new frmDbConnectionManage(); frmDbConnectionManage.ShowDialog(); }