Example #1
0
        private void mapDataSourcesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var frmMapDS = new MapDatasources();

            frmMapDS.sourceDS = sourceDS;
            frmMapDS.destDS   = destDS;
            var result = frmMapDS.ShowDialog();
        }
Example #2
0
        private void mapDataSourcesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (_sourceServicesMgmt == null || _destServicesMgmt == null)
            {
                MessageBox.Show(Resources.Please_load_reports_from_both_source_and_destination_server, Resources.Error,
                                MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
                return;
            }
            var frmMapDs = new MapDatasources {
                SourceDs = _sourceServicesMgmt.DataSources, DestDs = _destServicesMgmt.DataSources
            };

            frmMapDs.ShowDialog();
        }
Example #3
0
        private void mapDataSourcesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            // This may only be needed if we're not changing the data source for a bunch of reports
            if (_sourceServicesMgmt == _destServicesMgmt)
            {
                MessageBox.Show("Source/Destination folder cannot match.", Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
                return;
            }
            // End Added code
            if (_sourceServicesMgmt == null || _destServicesMgmt == null)
            {
                MessageBox.Show(Resources.Please_load_reports_from_both_source_and_destination_server, Resources.Error,
                                MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
                return;
            }
            var frmMapDs = new MapDatasources {
                SourceDs = _sourceServicesMgmt.DataSources, DestDs = _destServicesMgmt.DataSources
            };

            frmMapDs.ShowDialog();
        }
Example #4
0
 private void mapDataSourcesToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (_sourceServicesMgmt == null || _destServicesMgmt == null)
     {
         MessageBox.Show(Resources.Please_load_reports_from_both_source_and_destination_server, Resources.Error,
             MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
         return;
     }
     var frmMapDs = new MapDatasources { SourceDs = _sourceServicesMgmt.DataSources, DestDs = _destServicesMgmt.DataSources };
     frmMapDs.ShowDialog();
 }
Example #5
0
 private void mapDataSourcesToolStripMenuItem_Click(object sender, EventArgs e)
 {
     var frmMapDS = new MapDatasources();
     frmMapDS.sourceDS = sourceDS;
     frmMapDS.destDS = destDS;
     var result = frmMapDS.ShowDialog();
 }