예제 #1
0
        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();
            }
        }
예제 #2
0
        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();
        }