private void btnGO_Click(object sender, EventArgs e) { MySQL mysql = new MySQL(tbServer.Text, tbDatabase.Text, tbUserID.Text, tbPassword.Text, tbPort.Text, tbNamespace.Text, cbConnStr.Checked, rbConnectionString.Checked, cbTables.Checked, cbViews.Checked, cbProcedures.Checked, cbFunctions.Checked); string Result = mysql.Generation(); Clipboard.SetDataObject(Result, true); FrmResult fr = new FrmResult(); fr.tbResult.Text = Result; fr.ShowDialog(); fr.Dispose(); }
private void btnGO_Click(object sender, EventArgs e) { SQLite sqlite = new SQLite(tbDatabase.Text, tbPassword.Text, tbNamespace.Text, cbConnStr.Checked, rbConnectionString.Checked, cbTables.Checked, cbViews.Checked); string Result = sqlite.Generation(); Clipboard.SetDataObject(Result, true); FrmResult fr = new FrmResult(); fr.tbResult.Text = Result; fr.ShowDialog(); fr.Dispose(); }