示例#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);
            }
        }
示例#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);
            }
        }