Beispiel #1
0
        private void btnReIndex_Click(object sender, EventArgs e)
        {
            ReindexForm s = new ReindexForm();
            if (s.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                MigrationSettings settings = new MigrationSettings();
                LoadSettingsFromSaved(settings);
                settings.SourceType = MigrationSourceType.ReIndexOnly;

                WorkerForm worker = new WorkerForm();
                worker.Show();
                worker.Focus();
                worker.StartMigration(settings);
            }
        }
Beispiel #2
0
        private void btnReIndex_Click(object sender, EventArgs e)
        {
            ReindexForm s = new ReindexForm();

            if (s.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                MigrationSettings settings = new MigrationSettings();
                LoadSettingsFromSaved(settings);
                settings.SourceType = MigrationSourceType.ReIndexOnly;

                WorkerForm worker = new WorkerForm();
                worker.Show();
                worker.Focus();
                worker.StartMigration(settings);
            }
        }
Beispiel #3
0
        private void button1_Click(object sender, EventArgs e)
        {
            OptionsForm s = new OptionsForm();
            if (s.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                MigrationSettings settings = new MigrationSettings();
                LoadSettingsFromSaved(settings);

                WorkerForm worker = new WorkerForm();
                worker.Show();
                worker.Focus();
                worker.StartMigration(settings);                
            }
            else
            {
                this.Focus();
            }
        }
Beispiel #4
0
        private void button1_Click(object sender, EventArgs e)
        {
            OptionsForm s = new OptionsForm();

            if (s.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                MigrationSettings settings = new MigrationSettings();
                LoadSettingsFromSaved(settings);

                WorkerForm worker = new WorkerForm();
                worker.Show();
                worker.Focus();
                worker.StartMigration(settings);
            }
            else
            {
                this.Focus();
            }
        }