public override void Execute() { base.Execute(); if (PromptForProject) { if (SelectOne(Activator.RepositoryLocator.DataExportRepository, out Project p)) { _project = p; } else { return; //dialogue was cancelled } } var importTable = new ImportSQLTableUI(Activator, true) { TargetFolder = TargetFolder }; if (_project != null) { importTable.SetProjectSpecific(_project); } importTable.ShowDialog(); }
public override void Execute() { base.Execute(); var importTable = new ImportSQLTableUI(Activator, false); importTable.ShowDialog(); }
public override void Execute() { base.Execute(); var importTable = new ImportSQLTableUI(Activator, _allowImportAsCatalogue); importTable.ShowDialog(); }
private void btnImportNewTableInfo_Click(object sender, EventArgs e) { var importDialog = new ImportSQLTableUI(Activator, false); if (importDialog.ShowDialog() == DialogResult.OK) { if (importDialog.TableInfoCreatedIfAny != null) { cbxLookup.SelectedItem = importDialog.TableInfoCreatedIfAny; } } }