private void btShowOutput_Click(object sender, EventArgs e) { var dsCurrent = dgvCurrent.DataSource as EntityLocalizationEntry[]; var dsNew = dgvNew.DataSource as EntityLocalizationEntry[]; var dsDeleted = dgvDeleted.DataSource as EntityLocalizationEntry[]; String output = GenerateOutput(dsCurrent, dsNew, dsDeleted); FrmOutput frm = new FrmOutput { OutputText = output, OutputFile = ReferenceResolved }; if (frm.ShowDialog() == DialogResult.OK) { Run(); } }
private void btShowOutput_Click(object sender, EventArgs e) { var dsCurrent = dgvCurrent.DataSource as EntityLocalizationEntry[]; var dsNew = dgvNew.DataSource as EntityLocalizationEntry[]; var dsDeleted = dgvDeleted.DataSource as EntityLocalizationEntry[]; String output = GenerateOutput(dsCurrent, dsNew, dsDeleted); FrmOutput frm = new FrmOutput { OutputText = output, OutputFile = ReferenceResolved }; if (frm.ShowDialog() == DialogResult.OK) Run(); }