diff --git a/Rdmp.UI/LocationsMenu/ChoosePlatformDatabasesUI.Designer.cs b/Rdmp.UI/LocationsMenu/ChoosePlatformDatabasesUI.Designer.cs index fe75ce878d..62dd81d2d2 100644 --- a/Rdmp.UI/LocationsMenu/ChoosePlatformDatabasesUI.Designer.cs +++ b/Rdmp.UI/LocationsMenu/ChoosePlatformDatabasesUI.Designer.cs @@ -33,622 +33,628 @@ protected override void Dispose(bool disposing) /// private void InitializeComponent() { - this.label1 = new System.Windows.Forms.Label(); - this.tbCatalogueConnectionString = new Rdmp.UI.SimpleControls.ConnectionStringTextBox(); - this.btnSaveAndClose = new System.Windows.Forms.Button(); - this.gbUseExisting = new System.Windows.Forms.GroupBox(); - this.btnBack2 = new System.Windows.Forms.Button(); - this.pReferenceADataExport = new System.Windows.Forms.Panel(); - this.btnCreateYamlFile = new System.Windows.Forms.Button(); - this.btnBrowseForDataExport = new System.Windows.Forms.Button(); - this.tbDataExportManagerConnectionString = new Rdmp.UI.SimpleControls.ConnectionStringTextBox(); - this.btnCheckDataExportManager = new System.Windows.Forms.Button(); - this.pReferenceACatalogue = new System.Windows.Forms.Panel(); - this.btnBrowseForCatalogue = new System.Windows.Forms.Button(); - this.btnCheckCatalogue = new System.Windows.Forms.Button(); - this.label8 = new System.Windows.Forms.Label(); - this.label2 = new System.Windows.Forms.Label(); - this.checksUI1 = new Rdmp.UI.ChecksUI.ChecksUI(); - this.btnCreateSuite = new System.Windows.Forms.Button(); - this.label5 = new System.Windows.Forms.Label(); - this.tbSuiteServer = new System.Windows.Forms.TextBox(); - this.tbDatabasePrefix = new System.Windows.Forms.TextBox(); - this.label6 = new System.Windows.Forms.Label(); - this.btnCreateNew = new System.Windows.Forms.Button(); - this.pChooseOption = new System.Windows.Forms.Panel(); - this.btnUseExisting = new System.Windows.Forms.Button(); - this.label7 = new System.Windows.Forms.Label(); - this.gbCreateNew = new System.Windows.Forms.GroupBox(); - this.gbSqlAuthentication = new System.Windows.Forms.GroupBox(); - this.tbUsername = new System.Windows.Forms.TextBox(); - this.label3 = new System.Windows.Forms.Label(); - this.label4 = new System.Windows.Forms.Label(); - this.tbPassword = new System.Windows.Forms.TextBox(); - this.gbExampleDatasets = new System.Windows.Forms.GroupBox(); - this.label10 = new System.Windows.Forms.Label(); - this.label12 = new System.Windows.Forms.Label(); - this.tbPeopleCount = new System.Windows.Forms.TextBox(); - this.label11 = new System.Windows.Forms.Label(); - this.tbRowCount = new System.Windows.Forms.TextBox(); - this.cbCreateExampleDatasets = new System.Windows.Forms.CheckBox(); - this.cbCreateLoggingServer = new System.Windows.Forms.CheckBox(); - this.tbSeed = new System.Windows.Forms.TextBox(); - this.tbOtherKeywords = new System.Windows.Forms.TextBox(); - this.tbCreateDatabaseTimeout = new System.Windows.Forms.TextBox(); - this.label14 = new System.Windows.Forms.Label(); - this.label13 = new System.Windows.Forms.Label(); - this.label9 = new System.Windows.Forms.Label(); - this.btnBack1 = new System.Windows.Forms.Button(); - this.pResults = new System.Windows.Forms.Panel(); - this.gbUseExisting.SuspendLayout(); - this.pReferenceADataExport.SuspendLayout(); - this.pReferenceACatalogue.SuspendLayout(); - this.pChooseOption.SuspendLayout(); - this.gbCreateNew.SuspendLayout(); - this.gbSqlAuthentication.SuspendLayout(); - this.gbExampleDatasets.SuspendLayout(); - this.pResults.SuspendLayout(); - this.SuspendLayout(); + label1 = new System.Windows.Forms.Label(); + tbCatalogueConnectionString = new ConnectionStringTextBox(); + btnSaveAndClose = new System.Windows.Forms.Button(); + gbUseExisting = new System.Windows.Forms.GroupBox(); + btnBack2 = new System.Windows.Forms.Button(); + pReferenceADataExport = new System.Windows.Forms.Panel(); + btnCreateYamlFile = new System.Windows.Forms.Button(); + btnBrowseForDataExport = new System.Windows.Forms.Button(); + tbDataExportManagerConnectionString = new ConnectionStringTextBox(); + btnCheckDataExportManager = new System.Windows.Forms.Button(); + pReferenceACatalogue = new System.Windows.Forms.Panel(); + btnBrowseForCatalogue = new System.Windows.Forms.Button(); + btnCheckCatalogue = new System.Windows.Forms.Button(); + label8 = new System.Windows.Forms.Label(); + label2 = new System.Windows.Forms.Label(); + checksUI1 = new ChecksUI.ChecksUI(); + btnCreateSuite = new System.Windows.Forms.Button(); + label5 = new System.Windows.Forms.Label(); + tbSuiteServer = new System.Windows.Forms.TextBox(); + tbDatabasePrefix = new System.Windows.Forms.TextBox(); + label6 = new System.Windows.Forms.Label(); + btnCreateNew = new System.Windows.Forms.Button(); + pChooseOption = new System.Windows.Forms.Panel(); + btnUseExisting = new System.Windows.Forms.Button(); + label7 = new System.Windows.Forms.Label(); + gbCreateNew = new System.Windows.Forms.GroupBox(); + cbCreateExampleDatasets = new System.Windows.Forms.CheckBox(); + cbCreateLoggingServer = new System.Windows.Forms.CheckBox(); + gbSqlAuthentication = new System.Windows.Forms.GroupBox(); + tbUsername = new System.Windows.Forms.TextBox(); + label3 = new System.Windows.Forms.Label(); + label4 = new System.Windows.Forms.Label(); + tbPassword = new System.Windows.Forms.TextBox(); + gbExampleDatasets = new System.Windows.Forms.GroupBox(); + label10 = new System.Windows.Forms.Label(); + label12 = new System.Windows.Forms.Label(); + tbPeopleCount = new System.Windows.Forms.TextBox(); + label11 = new System.Windows.Forms.Label(); + tbRowCount = new System.Windows.Forms.TextBox(); + tbSeed = new System.Windows.Forms.TextBox(); + tbOtherKeywords = new System.Windows.Forms.TextBox(); + tbCreateDatabaseTimeout = new System.Windows.Forms.TextBox(); + label14 = new System.Windows.Forms.Label(); + label13 = new System.Windows.Forms.Label(); + label9 = new System.Windows.Forms.Label(); + btnBack1 = new System.Windows.Forms.Button(); + pResults = new System.Windows.Forms.Panel(); + btnUseYamlFile = new System.Windows.Forms.Button(); + gbUseExisting.SuspendLayout(); + pReferenceADataExport.SuspendLayout(); + pReferenceACatalogue.SuspendLayout(); + pChooseOption.SuspendLayout(); + gbCreateNew.SuspendLayout(); + gbSqlAuthentication.SuspendLayout(); + gbExampleDatasets.SuspendLayout(); + pResults.SuspendLayout(); + SuspendLayout(); // // label1 // - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(97, 25); - this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(64, 15); - this.label1.TabIndex = 0; - this.label1.Text = "Catalogue:"; + label1.AutoSize = true; + label1.Location = new System.Drawing.Point(97, 25); + label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label1.Name = "label1"; + label1.Size = new System.Drawing.Size(64, 15); + label1.TabIndex = 0; + label1.Text = "Catalogue:"; // // tbCatalogueConnectionString // - this.tbCatalogueConnectionString.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.tbCatalogueConnectionString.DatabaseType = FAnsi.DatabaseType.MicrosoftSQLServer; - this.tbCatalogueConnectionString.ForeColor = System.Drawing.Color.Black; - this.tbCatalogueConnectionString.Location = new System.Drawing.Point(84, 8); - this.tbCatalogueConnectionString.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.tbCatalogueConnectionString.Name = "tbCatalogueConnectionString"; - this.tbCatalogueConnectionString.Size = new System.Drawing.Size(937, 23); - this.tbCatalogueConnectionString.TabIndex = 1; - this.tbCatalogueConnectionString.KeyUp += new System.Windows.Forms.KeyEventHandler(this.tbCatalogueConnectionString_KeyUp); + tbCatalogueConnectionString.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right; + tbCatalogueConnectionString.DatabaseType = FAnsi.DatabaseType.MicrosoftSQLServer; + tbCatalogueConnectionString.ForeColor = System.Drawing.Color.Black; + tbCatalogueConnectionString.Location = new System.Drawing.Point(84, 8); + tbCatalogueConnectionString.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + tbCatalogueConnectionString.Name = "tbCatalogueConnectionString"; + tbCatalogueConnectionString.Size = new System.Drawing.Size(937, 23); + tbCatalogueConnectionString.TabIndex = 1; + tbCatalogueConnectionString.KeyUp += tbCatalogueConnectionString_KeyUp; // // btnSaveAndClose // - this.btnSaveAndClose.Location = new System.Drawing.Point(537, 167); - this.btnSaveAndClose.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.btnSaveAndClose.Name = "btnSaveAndClose"; - this.btnSaveAndClose.Size = new System.Drawing.Size(320, 27); - this.btnSaveAndClose.TabIndex = 10; - this.btnSaveAndClose.Text = "Save and Close"; - this.btnSaveAndClose.UseVisualStyleBackColor = true; - this.btnSaveAndClose.Click += new System.EventHandler(this.btnSaveAndClose_Click); + btnSaveAndClose.Location = new System.Drawing.Point(537, 167); + btnSaveAndClose.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + btnSaveAndClose.Name = "btnSaveAndClose"; + btnSaveAndClose.Size = new System.Drawing.Size(320, 27); + btnSaveAndClose.TabIndex = 10; + btnSaveAndClose.Text = "Save and Close"; + btnSaveAndClose.UseVisualStyleBackColor = true; + btnSaveAndClose.Click += btnSaveAndClose_Click; // // gbUseExisting // - this.gbUseExisting.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.gbUseExisting.Controls.Add(this.btnBack2); - this.gbUseExisting.Controls.Add(this.pReferenceADataExport); - this.gbUseExisting.Controls.Add(this.btnSaveAndClose); - this.gbUseExisting.Controls.Add(this.pReferenceACatalogue); - this.gbUseExisting.Controls.Add(this.label8); - this.gbUseExisting.Controls.Add(this.label1); - this.gbUseExisting.Location = new System.Drawing.Point(7, 14); - this.gbUseExisting.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.gbUseExisting.Name = "gbUseExisting"; - this.gbUseExisting.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.gbUseExisting.Size = new System.Drawing.Size(1226, 201); - this.gbUseExisting.TabIndex = 8; - this.gbUseExisting.TabStop = false; - this.gbUseExisting.Text = "Connect to existing Platform Databases (Enter Connection Strings)"; - this.gbUseExisting.Visible = false; + gbUseExisting.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right; + gbUseExisting.Controls.Add(btnBack2); + gbUseExisting.Controls.Add(pReferenceADataExport); + gbUseExisting.Controls.Add(btnSaveAndClose); + gbUseExisting.Controls.Add(pReferenceACatalogue); + gbUseExisting.Controls.Add(label8); + gbUseExisting.Controls.Add(label1); + gbUseExisting.Location = new System.Drawing.Point(7, 14); + gbUseExisting.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + gbUseExisting.Name = "gbUseExisting"; + gbUseExisting.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); + gbUseExisting.Size = new System.Drawing.Size(1226, 201); + gbUseExisting.TabIndex = 8; + gbUseExisting.TabStop = false; + gbUseExisting.Text = "Connect to existing Platform Databases (Enter Connection Strings)"; + gbUseExisting.Visible = false; // // btnBack2 // - this.btnBack2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.btnBack2.Location = new System.Drawing.Point(7, 167); - this.btnBack2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.btnBack2.Name = "btnBack2"; - this.btnBack2.Size = new System.Drawing.Size(88, 27); - this.btnBack2.TabIndex = 10; - this.btnBack2.Text = "<< Back"; - this.btnBack2.UseVisualStyleBackColor = true; - this.btnBack2.Click += new System.EventHandler(this.btnBack_Click); + btnBack2.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left; + btnBack2.Location = new System.Drawing.Point(7, 167); + btnBack2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + btnBack2.Name = "btnBack2"; + btnBack2.Size = new System.Drawing.Size(88, 27); + btnBack2.TabIndex = 10; + btnBack2.Text = "<< Back"; + btnBack2.UseVisualStyleBackColor = true; + btnBack2.Click += btnBack_Click; // // pReferenceADataExport // - this.pReferenceADataExport.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.pReferenceADataExport.Controls.Add(this.btnCreateYamlFile); - this.pReferenceADataExport.Controls.Add(this.btnBrowseForDataExport); - this.pReferenceADataExport.Controls.Add(this.tbDataExportManagerConnectionString); - this.pReferenceADataExport.Controls.Add(this.btnCheckDataExportManager); - this.pReferenceADataExport.Location = new System.Drawing.Point(192, 93); - this.pReferenceADataExport.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.pReferenceADataExport.Name = "pReferenceADataExport"; - this.pReferenceADataExport.Size = new System.Drawing.Size(1027, 60); - this.pReferenceADataExport.TabIndex = 9; + pReferenceADataExport.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right; + pReferenceADataExport.Controls.Add(btnUseYamlFile); + pReferenceADataExport.Controls.Add(btnCreateYamlFile); + pReferenceADataExport.Controls.Add(btnBrowseForDataExport); + pReferenceADataExport.Controls.Add(tbDataExportManagerConnectionString); + pReferenceADataExport.Controls.Add(btnCheckDataExportManager); + pReferenceADataExport.Location = new System.Drawing.Point(192, 93); + pReferenceADataExport.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + pReferenceADataExport.Name = "pReferenceADataExport"; + pReferenceADataExport.Size = new System.Drawing.Size(1027, 60); + pReferenceADataExport.TabIndex = 9; // // btnCreateYamlFile // - this.btnCreateYamlFile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.btnCreateYamlFile.Location = new System.Drawing.Point(914, 32); - this.btnCreateYamlFile.Name = "btnCreateYamlFile"; - this.btnCreateYamlFile.Size = new System.Drawing.Size(108, 23); - this.btnCreateYamlFile.TabIndex = 9; - this.btnCreateYamlFile.Text = "Save as yaml..."; - this.btnCreateYamlFile.UseVisualStyleBackColor = true; - this.btnCreateYamlFile.Click += new System.EventHandler(this.btnCreateYamlFile_Click); + btnCreateYamlFile.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right; + btnCreateYamlFile.Location = new System.Drawing.Point(914, 32); + btnCreateYamlFile.Name = "btnCreateYamlFile"; + btnCreateYamlFile.Size = new System.Drawing.Size(108, 23); + btnCreateYamlFile.TabIndex = 9; + btnCreateYamlFile.Text = "Save as yaml..."; + btnCreateYamlFile.UseVisualStyleBackColor = true; + btnCreateYamlFile.Click += btnCreateYamlFile_Click; // // btnBrowseForDataExport // - this.btnBrowseForDataExport.Location = new System.Drawing.Point(4, 3); - this.btnBrowseForDataExport.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.btnBrowseForDataExport.Name = "btnBrowseForDataExport"; - this.btnBrowseForDataExport.Size = new System.Drawing.Size(75, 27); - this.btnBrowseForDataExport.TabIndex = 8; - this.btnBrowseForDataExport.Text = "Browse..."; - this.btnBrowseForDataExport.UseVisualStyleBackColor = true; - this.btnBrowseForDataExport.Click += new System.EventHandler(this.btnBrowseForDataExport_Click); + btnBrowseForDataExport.Location = new System.Drawing.Point(4, 3); + btnBrowseForDataExport.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + btnBrowseForDataExport.Name = "btnBrowseForDataExport"; + btnBrowseForDataExport.Size = new System.Drawing.Size(75, 27); + btnBrowseForDataExport.TabIndex = 8; + btnBrowseForDataExport.Text = "Browse..."; + btnBrowseForDataExport.UseVisualStyleBackColor = true; + btnBrowseForDataExport.Click += btnBrowseForDataExport_Click; // // tbDataExportManagerConnectionString // - this.tbDataExportManagerConnectionString.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.tbDataExportManagerConnectionString.DatabaseType = FAnsi.DatabaseType.MicrosoftSQLServer; - this.tbDataExportManagerConnectionString.ForeColor = System.Drawing.Color.Black; - this.tbDataExportManagerConnectionString.Location = new System.Drawing.Point(84, 3); - this.tbDataExportManagerConnectionString.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.tbDataExportManagerConnectionString.Name = "tbDataExportManagerConnectionString"; - this.tbDataExportManagerConnectionString.Size = new System.Drawing.Size(938, 23); - this.tbDataExportManagerConnectionString.TabIndex = 5; + tbDataExportManagerConnectionString.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right; + tbDataExportManagerConnectionString.DatabaseType = FAnsi.DatabaseType.MicrosoftSQLServer; + tbDataExportManagerConnectionString.ForeColor = System.Drawing.Color.Black; + tbDataExportManagerConnectionString.Location = new System.Drawing.Point(84, 3); + tbDataExportManagerConnectionString.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + tbDataExportManagerConnectionString.Name = "tbDataExportManagerConnectionString"; + tbDataExportManagerConnectionString.Size = new System.Drawing.Size(938, 23); + tbDataExportManagerConnectionString.TabIndex = 5; // // btnCheckDataExportManager // - this.btnCheckDataExportManager.Location = new System.Drawing.Point(4, 30); - this.btnCheckDataExportManager.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.btnCheckDataExportManager.Name = "btnCheckDataExportManager"; - this.btnCheckDataExportManager.Size = new System.Drawing.Size(75, 27); - this.btnCheckDataExportManager.TabIndex = 7; - this.btnCheckDataExportManager.Text = "Check"; - this.btnCheckDataExportManager.UseVisualStyleBackColor = true; - this.btnCheckDataExportManager.Click += new System.EventHandler(this.btnCheckDataExportManager_Click); + btnCheckDataExportManager.Location = new System.Drawing.Point(4, 30); + btnCheckDataExportManager.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + btnCheckDataExportManager.Name = "btnCheckDataExportManager"; + btnCheckDataExportManager.Size = new System.Drawing.Size(75, 27); + btnCheckDataExportManager.TabIndex = 7; + btnCheckDataExportManager.Text = "Check"; + btnCheckDataExportManager.UseVisualStyleBackColor = true; + btnCheckDataExportManager.Click += btnCheckDataExportManager_Click; // // pReferenceACatalogue // - this.pReferenceACatalogue.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.pReferenceACatalogue.Controls.Add(this.tbCatalogueConnectionString); - this.pReferenceACatalogue.Controls.Add(this.btnBrowseForCatalogue); - this.pReferenceACatalogue.Controls.Add(this.btnCheckCatalogue); - this.pReferenceACatalogue.Location = new System.Drawing.Point(192, 22); - this.pReferenceACatalogue.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.pReferenceACatalogue.Name = "pReferenceACatalogue"; - this.pReferenceACatalogue.Size = new System.Drawing.Size(1027, 66); - this.pReferenceACatalogue.TabIndex = 8; + pReferenceACatalogue.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right; + pReferenceACatalogue.Controls.Add(tbCatalogueConnectionString); + pReferenceACatalogue.Controls.Add(btnBrowseForCatalogue); + pReferenceACatalogue.Controls.Add(btnCheckCatalogue); + pReferenceACatalogue.Location = new System.Drawing.Point(192, 22); + pReferenceACatalogue.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + pReferenceACatalogue.Name = "pReferenceACatalogue"; + pReferenceACatalogue.Size = new System.Drawing.Size(1027, 66); + pReferenceACatalogue.TabIndex = 8; // // btnBrowseForCatalogue // - this.btnBrowseForCatalogue.Location = new System.Drawing.Point(4, 6); - this.btnBrowseForCatalogue.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.btnBrowseForCatalogue.Name = "btnBrowseForCatalogue"; - this.btnBrowseForCatalogue.Size = new System.Drawing.Size(75, 27); - this.btnBrowseForCatalogue.TabIndex = 3; - this.btnBrowseForCatalogue.Text = "Browse..."; - this.btnBrowseForCatalogue.UseVisualStyleBackColor = true; - this.btnBrowseForCatalogue.Click += new System.EventHandler(this.btnBrowseForCatalogue_Click); + btnBrowseForCatalogue.Location = new System.Drawing.Point(4, 6); + btnBrowseForCatalogue.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + btnBrowseForCatalogue.Name = "btnBrowseForCatalogue"; + btnBrowseForCatalogue.Size = new System.Drawing.Size(75, 27); + btnBrowseForCatalogue.TabIndex = 3; + btnBrowseForCatalogue.Text = "Browse..."; + btnBrowseForCatalogue.UseVisualStyleBackColor = true; + btnBrowseForCatalogue.Click += btnBrowseForCatalogue_Click; // // btnCheckCatalogue // - this.btnCheckCatalogue.Location = new System.Drawing.Point(4, 32); - this.btnCheckCatalogue.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.btnCheckCatalogue.Name = "btnCheckCatalogue"; - this.btnCheckCatalogue.Size = new System.Drawing.Size(75, 27); - this.btnCheckCatalogue.TabIndex = 3; - this.btnCheckCatalogue.Text = "Check"; - this.btnCheckCatalogue.UseVisualStyleBackColor = true; - this.btnCheckCatalogue.Click += new System.EventHandler(this.btnCheckCatalogue_Click); + btnCheckCatalogue.Location = new System.Drawing.Point(4, 32); + btnCheckCatalogue.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + btnCheckCatalogue.Name = "btnCheckCatalogue"; + btnCheckCatalogue.Size = new System.Drawing.Size(75, 27); + btnCheckCatalogue.TabIndex = 3; + btnCheckCatalogue.Text = "Check"; + btnCheckCatalogue.UseVisualStyleBackColor = true; + btnCheckCatalogue.Click += btnCheckCatalogue_Click; // // label8 // - this.label8.AutoSize = true; - this.label8.Location = new System.Drawing.Point(56, 88); - this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(121, 15); - this.label8.TabIndex = 4; - this.label8.Text = "Data Export Manager:"; + label8.AutoSize = true; + label8.Location = new System.Drawing.Point(56, 88); + label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label8.Name = "label8"; + label8.Size = new System.Drawing.Size(121, 15); + label8.TabIndex = 4; + label8.Text = "Data Export Manager:"; // // label2 // - this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(4, 10); - this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(42, 15); - this.label2.TabIndex = 11; - this.label2.Text = "Result:"; + label2.AutoSize = true; + label2.Location = new System.Drawing.Point(4, 10); + label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label2.Name = "label2"; + label2.Size = new System.Drawing.Size(42, 15); + label2.TabIndex = 11; + label2.Text = "Result:"; // // checksUI1 // - this.checksUI1.AllowsYesNoToAll = true; - this.checksUI1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.checksUI1.Location = new System.Drawing.Point(4, 29); - this.checksUI1.Margin = new System.Windows.Forms.Padding(5, 3, 5, 3); - this.checksUI1.Name = "checksUI1"; - this.checksUI1.Size = new System.Drawing.Size(867, 441); - this.checksUI1.TabIndex = 0; + checksUI1.AllowsYesNoToAll = true; + checksUI1.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right; + checksUI1.Location = new System.Drawing.Point(4, 29); + checksUI1.Margin = new System.Windows.Forms.Padding(5, 3, 5, 3); + checksUI1.Name = "checksUI1"; + checksUI1.Size = new System.Drawing.Size(867, 441); + checksUI1.TabIndex = 0; // // btnCreateSuite // - this.btnCreateSuite.Location = new System.Drawing.Point(108, 144); - this.btnCreateSuite.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.btnCreateSuite.Name = "btnCreateSuite"; - this.btnCreateSuite.Size = new System.Drawing.Size(75, 27); - this.btnCreateSuite.TabIndex = 2; - this.btnCreateSuite.Text = "Create"; - this.btnCreateSuite.UseVisualStyleBackColor = true; - this.btnCreateSuite.Click += new System.EventHandler(this.btnCreateSuite_Click); + btnCreateSuite.Location = new System.Drawing.Point(108, 144); + btnCreateSuite.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + btnCreateSuite.Name = "btnCreateSuite"; + btnCreateSuite.Size = new System.Drawing.Size(75, 27); + btnCreateSuite.TabIndex = 2; + btnCreateSuite.Text = "Create"; + btnCreateSuite.UseVisualStyleBackColor = true; + btnCreateSuite.Click += btnCreateSuite_Click; // // label5 // - this.label5.AutoSize = true; - this.label5.Location = new System.Drawing.Point(54, 30); - this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(42, 15); - this.label5.TabIndex = 1; - this.label5.Text = "Server:"; + label5.AutoSize = true; + label5.Location = new System.Drawing.Point(54, 30); + label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label5.Name = "label5"; + label5.Size = new System.Drawing.Size(42, 15); + label5.TabIndex = 1; + label5.Text = "Server:"; // // tbSuiteServer // - this.tbSuiteServer.Location = new System.Drawing.Point(108, 27); - this.tbSuiteServer.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.tbSuiteServer.Name = "tbSuiteServer"; - this.tbSuiteServer.Size = new System.Drawing.Size(166, 23); - this.tbSuiteServer.TabIndex = 0; - this.tbSuiteServer.Text = "localhost\\sqlexpress"; + tbSuiteServer.Location = new System.Drawing.Point(108, 27); + tbSuiteServer.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + tbSuiteServer.Name = "tbSuiteServer"; + tbSuiteServer.Size = new System.Drawing.Size(166, 23); + tbSuiteServer.TabIndex = 0; + tbSuiteServer.Text = "localhost\\sqlexpress"; // // tbDatabasePrefix // - this.tbDatabasePrefix.Location = new System.Drawing.Point(108, 56); - this.tbDatabasePrefix.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.tbDatabasePrefix.Name = "tbDatabasePrefix"; - this.tbDatabasePrefix.Size = new System.Drawing.Size(166, 23); - this.tbDatabasePrefix.TabIndex = 1; - this.tbDatabasePrefix.Text = "RDMP_"; + tbDatabasePrefix.Location = new System.Drawing.Point(108, 56); + tbDatabasePrefix.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + tbDatabasePrefix.Name = "tbDatabasePrefix"; + tbDatabasePrefix.Size = new System.Drawing.Size(166, 23); + tbDatabasePrefix.TabIndex = 1; + tbDatabasePrefix.Text = "RDMP_"; // // label6 // - this.label6.AutoSize = true; - this.label6.Location = new System.Drawing.Point(10, 59); - this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(91, 15); - this.label6.TabIndex = 3; - this.label6.Text = "Database Prefix:"; + label6.AutoSize = true; + label6.Location = new System.Drawing.Point(10, 59); + label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label6.Name = "label6"; + label6.Size = new System.Drawing.Size(91, 15); + label6.TabIndex = 3; + label6.Text = "Database Prefix:"; // // btnCreateNew // - this.btnCreateNew.Location = new System.Drawing.Point(4, 42); - this.btnCreateNew.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.btnCreateNew.Name = "btnCreateNew"; - this.btnCreateNew.Size = new System.Drawing.Size(259, 27); - this.btnCreateNew.TabIndex = 13; - this.btnCreateNew.Text = "I want to create new Platform Databases"; - this.btnCreateNew.UseVisualStyleBackColor = true; - this.btnCreateNew.Click += new System.EventHandler(this.btnCreateNew_Click); + btnCreateNew.Location = new System.Drawing.Point(4, 42); + btnCreateNew.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + btnCreateNew.Name = "btnCreateNew"; + btnCreateNew.Size = new System.Drawing.Size(259, 27); + btnCreateNew.TabIndex = 13; + btnCreateNew.Text = "I want to create new Platform Databases"; + btnCreateNew.UseVisualStyleBackColor = true; + btnCreateNew.Click += btnCreateNew_Click; // // pChooseOption // - this.pChooseOption.Controls.Add(this.btnUseExisting); - this.pChooseOption.Controls.Add(this.btnCreateNew); - this.pChooseOption.Controls.Add(this.label7); - this.pChooseOption.Location = new System.Drawing.Point(330, 347); - this.pChooseOption.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.pChooseOption.Name = "pChooseOption"; - this.pChooseOption.Size = new System.Drawing.Size(758, 115); - this.pChooseOption.TabIndex = 14; + pChooseOption.Controls.Add(btnUseExisting); + pChooseOption.Controls.Add(btnCreateNew); + pChooseOption.Controls.Add(label7); + pChooseOption.Location = new System.Drawing.Point(330, 347); + pChooseOption.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + pChooseOption.Name = "pChooseOption"; + pChooseOption.Size = new System.Drawing.Size(758, 115); + pChooseOption.TabIndex = 14; // // btnUseExisting // - this.btnUseExisting.Location = new System.Drawing.Point(270, 42); - this.btnUseExisting.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.btnUseExisting.Name = "btnUseExisting"; - this.btnUseExisting.Size = new System.Drawing.Size(471, 27); - this.btnUseExisting.TabIndex = 13; - this.btnUseExisting.Text = "Our organisation already has RDMP Platform Databases that I want to connect to"; - this.btnUseExisting.UseVisualStyleBackColor = true; - this.btnUseExisting.Click += new System.EventHandler(this.btnUseExisting_Click); + btnUseExisting.Location = new System.Drawing.Point(270, 42); + btnUseExisting.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + btnUseExisting.Name = "btnUseExisting"; + btnUseExisting.Size = new System.Drawing.Size(471, 27); + btnUseExisting.TabIndex = 13; + btnUseExisting.Text = "Our organisation already has RDMP Platform Databases that I want to connect to"; + btnUseExisting.UseVisualStyleBackColor = true; + btnUseExisting.Click += btnUseExisting_Click; // // label7 // - this.label7.AutoSize = true; - this.label7.Location = new System.Drawing.Point(4, 9); - this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(199, 15); - this.label7.TabIndex = 0; - this.label7.Text = "Which best describes your situation?"; + label7.AutoSize = true; + label7.Location = new System.Drawing.Point(4, 9); + label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label7.Name = "label7"; + label7.Size = new System.Drawing.Size(199, 15); + label7.TabIndex = 0; + label7.Text = "Which best describes your situation?"; // // gbCreateNew // - this.gbCreateNew.Controls.Add(this.cbCreateExampleDatasets); - this.gbCreateNew.Controls.Add(this.cbCreateLoggingServer); - this.gbCreateNew.Controls.Add(this.gbSqlAuthentication); - this.gbCreateNew.Controls.Add(this.gbExampleDatasets); - this.gbCreateNew.Controls.Add(this.tbOtherKeywords); - this.gbCreateNew.Controls.Add(this.tbCreateDatabaseTimeout); - this.gbCreateNew.Controls.Add(this.label14); - this.gbCreateNew.Controls.Add(this.label13); - this.gbCreateNew.Controls.Add(this.label9); - this.gbCreateNew.Controls.Add(this.tbSuiteServer); - this.gbCreateNew.Controls.Add(this.btnBack1); - this.gbCreateNew.Controls.Add(this.tbDatabasePrefix); - this.gbCreateNew.Controls.Add(this.label5); - this.gbCreateNew.Controls.Add(this.btnCreateSuite); - this.gbCreateNew.Controls.Add(this.label6); - this.gbCreateNew.Location = new System.Drawing.Point(559, 252); - this.gbCreateNew.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.gbCreateNew.Name = "gbCreateNew"; - this.gbCreateNew.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.gbCreateNew.Size = new System.Drawing.Size(888, 180); - this.gbCreateNew.TabIndex = 15; - this.gbCreateNew.TabStop = false; - this.gbCreateNew.Text = "Create New Platform Databases"; - this.gbCreateNew.Visible = false; + gbCreateNew.Controls.Add(cbCreateExampleDatasets); + gbCreateNew.Controls.Add(cbCreateLoggingServer); + gbCreateNew.Controls.Add(gbSqlAuthentication); + gbCreateNew.Controls.Add(gbExampleDatasets); + gbCreateNew.Controls.Add(tbOtherKeywords); + gbCreateNew.Controls.Add(tbCreateDatabaseTimeout); + gbCreateNew.Controls.Add(label14); + gbCreateNew.Controls.Add(label13); + gbCreateNew.Controls.Add(label9); + gbCreateNew.Controls.Add(tbSuiteServer); + gbCreateNew.Controls.Add(btnBack1); + gbCreateNew.Controls.Add(tbDatabasePrefix); + gbCreateNew.Controls.Add(label5); + gbCreateNew.Controls.Add(btnCreateSuite); + gbCreateNew.Controls.Add(label6); + gbCreateNew.Location = new System.Drawing.Point(559, 252); + gbCreateNew.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + gbCreateNew.Name = "gbCreateNew"; + gbCreateNew.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); + gbCreateNew.Size = new System.Drawing.Size(888, 180); + gbCreateNew.TabIndex = 15; + gbCreateNew.TabStop = false; + gbCreateNew.Text = "Create New Platform Databases"; + gbCreateNew.Visible = false; + // + // cbCreateExampleDatasets + // + cbCreateExampleDatasets.AutoSize = true; + cbCreateExampleDatasets.Location = new System.Drawing.Point(543, 33); + cbCreateExampleDatasets.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + cbCreateExampleDatasets.Name = "cbCreateExampleDatasets"; + cbCreateExampleDatasets.Size = new System.Drawing.Size(118, 19); + cbCreateExampleDatasets.TabIndex = 9; + cbCreateExampleDatasets.Text = "Example Datasets"; + cbCreateExampleDatasets.UseVisualStyleBackColor = true; + cbCreateExampleDatasets.CheckedChanged += cbCreateExampleDatasets_CheckedChanged; + // + // cbCreateLoggingServer + // + cbCreateLoggingServer.AutoSize = true; + cbCreateLoggingServer.Checked = true; + cbCreateLoggingServer.CheckState = System.Windows.Forms.CheckState.Checked; + cbCreateLoggingServer.Location = new System.Drawing.Point(543, 156); + cbCreateLoggingServer.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + cbCreateLoggingServer.Name = "cbCreateLoggingServer"; + cbCreateLoggingServer.Size = new System.Drawing.Size(147, 19); + cbCreateLoggingServer.TabIndex = 9; + cbCreateLoggingServer.Text = "Create a logging server"; + cbCreateLoggingServer.UseVisualStyleBackColor = true; // // gbSqlAuthentication // - this.gbSqlAuthentication.Controls.Add(this.tbUsername); - this.gbSqlAuthentication.Controls.Add(this.label3); - this.gbSqlAuthentication.Controls.Add(this.label4); - this.gbSqlAuthentication.Controls.Add(this.tbPassword); - this.gbSqlAuthentication.Location = new System.Drawing.Point(281, 25); - this.gbSqlAuthentication.Name = "gbSqlAuthentication"; - this.gbSqlAuthentication.Size = new System.Drawing.Size(237, 76); - this.gbSqlAuthentication.TabIndex = 15; - this.gbSqlAuthentication.TabStop = false; - this.gbSqlAuthentication.Text = "Sql Authentication*"; + gbSqlAuthentication.Controls.Add(tbUsername); + gbSqlAuthentication.Controls.Add(label3); + gbSqlAuthentication.Controls.Add(label4); + gbSqlAuthentication.Controls.Add(tbPassword); + gbSqlAuthentication.Location = new System.Drawing.Point(281, 25); + gbSqlAuthentication.Name = "gbSqlAuthentication"; + gbSqlAuthentication.Size = new System.Drawing.Size(237, 76); + gbSqlAuthentication.TabIndex = 15; + gbSqlAuthentication.TabStop = false; + gbSqlAuthentication.Text = "Sql Authentication*"; // // tbUsername // - this.tbUsername.Location = new System.Drawing.Point(80, 17); - this.tbUsername.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.tbUsername.Name = "tbUsername"; - this.tbUsername.Size = new System.Drawing.Size(149, 23); - this.tbUsername.TabIndex = 3; + tbUsername.Location = new System.Drawing.Point(80, 17); + tbUsername.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + tbUsername.Name = "tbUsername"; + tbUsername.Size = new System.Drawing.Size(149, 23); + tbUsername.TabIndex = 3; // // label3 // - this.label3.AutoSize = true; - this.label3.Location = new System.Drawing.Point(12, 22); - this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(63, 15); - this.label3.TabIndex = 6; - this.label3.Text = "Username:"; + label3.AutoSize = true; + label3.Location = new System.Drawing.Point(12, 22); + label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label3.Name = "label3"; + label3.Size = new System.Drawing.Size(63, 15); + label3.TabIndex = 6; + label3.Text = "Username:"; // // label4 // - this.label4.AutoSize = true; - this.label4.Location = new System.Drawing.Point(15, 45); - this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(60, 15); - this.label4.TabIndex = 6; - this.label4.Text = "Password:"; + label4.AutoSize = true; + label4.Location = new System.Drawing.Point(15, 45); + label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label4.Name = "label4"; + label4.Size = new System.Drawing.Size(60, 15); + label4.TabIndex = 6; + label4.Text = "Password:"; // // tbPassword // - this.tbPassword.Location = new System.Drawing.Point(80, 42); - this.tbPassword.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.tbPassword.Name = "tbPassword"; - this.tbPassword.Size = new System.Drawing.Size(149, 23); - this.tbPassword.TabIndex = 4; - this.tbPassword.UseSystemPasswordChar = true; + tbPassword.Location = new System.Drawing.Point(80, 42); + tbPassword.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + tbPassword.Name = "tbPassword"; + tbPassword.Size = new System.Drawing.Size(149, 23); + tbPassword.TabIndex = 4; + tbPassword.UseSystemPasswordChar = true; // // gbExampleDatasets // - this.gbExampleDatasets.Controls.Add(this.label10); - this.gbExampleDatasets.Controls.Add(this.label12); - this.gbExampleDatasets.Controls.Add(this.tbPeopleCount); - this.gbExampleDatasets.Controls.Add(this.label11); - this.gbExampleDatasets.Controls.Add(this.tbRowCount); - this.gbExampleDatasets.Controls.Add(this.tbSeed); - this.gbExampleDatasets.Enabled = false; - this.gbExampleDatasets.Location = new System.Drawing.Point(536, 33); - this.gbExampleDatasets.Name = "gbExampleDatasets"; - this.gbExampleDatasets.Size = new System.Drawing.Size(230, 100); - this.gbExampleDatasets.TabIndex = 14; - this.gbExampleDatasets.TabStop = false; + gbExampleDatasets.Controls.Add(label10); + gbExampleDatasets.Controls.Add(label12); + gbExampleDatasets.Controls.Add(tbPeopleCount); + gbExampleDatasets.Controls.Add(label11); + gbExampleDatasets.Controls.Add(tbRowCount); + gbExampleDatasets.Controls.Add(tbSeed); + gbExampleDatasets.Enabled = false; + gbExampleDatasets.Location = new System.Drawing.Point(536, 33); + gbExampleDatasets.Name = "gbExampleDatasets"; + gbExampleDatasets.Size = new System.Drawing.Size(230, 100); + gbExampleDatasets.TabIndex = 14; + gbExampleDatasets.TabStop = false; // // label10 // - this.label10.AutoSize = true; - this.label10.Location = new System.Drawing.Point(51, 25); - this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label10.Name = "label10"; - this.label10.Size = new System.Drawing.Size(35, 15); - this.label10.TabIndex = 10; - this.label10.Text = "Seed:"; + label10.AutoSize = true; + label10.Location = new System.Drawing.Point(51, 25); + label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label10.Name = "label10"; + label10.Size = new System.Drawing.Size(35, 15); + label10.TabIndex = 10; + label10.Text = "Seed:"; // // label12 // - this.label12.AutoSize = true; - this.label12.Location = new System.Drawing.Point(7, 49); - this.label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label12.Name = "label12"; - this.label12.Size = new System.Drawing.Size(82, 15); - this.label12.TabIndex = 10; - this.label12.Text = "Person Count:"; + label12.AutoSize = true; + label12.Location = new System.Drawing.Point(7, 49); + label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label12.Name = "label12"; + label12.Size = new System.Drawing.Size(82, 15); + label12.TabIndex = 10; + label12.Text = "Person Count:"; // // tbPeopleCount // - this.tbPeopleCount.Location = new System.Drawing.Point(94, 46); - this.tbPeopleCount.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.tbPeopleCount.Name = "tbPeopleCount"; - this.tbPeopleCount.Size = new System.Drawing.Size(129, 23); - this.tbPeopleCount.TabIndex = 11; - this.tbPeopleCount.TextChanged += new System.EventHandler(this.Tb_TextChanged); + tbPeopleCount.Location = new System.Drawing.Point(94, 46); + tbPeopleCount.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + tbPeopleCount.Name = "tbPeopleCount"; + tbPeopleCount.Size = new System.Drawing.Size(129, 23); + tbPeopleCount.TabIndex = 11; + tbPeopleCount.TextChanged += Tb_TextChanged; // // label11 // - this.label11.AutoSize = true; - this.label11.Location = new System.Drawing.Point(20, 74); - this.label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(69, 15); - this.label11.TabIndex = 10; - this.label11.Text = "Row Count:"; + label11.AutoSize = true; + label11.Location = new System.Drawing.Point(20, 74); + label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label11.Name = "label11"; + label11.Size = new System.Drawing.Size(69, 15); + label11.TabIndex = 10; + label11.Text = "Row Count:"; // // tbRowCount // - this.tbRowCount.Location = new System.Drawing.Point(94, 71); - this.tbRowCount.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.tbRowCount.Name = "tbRowCount"; - this.tbRowCount.Size = new System.Drawing.Size(129, 23); - this.tbRowCount.TabIndex = 11; - this.tbRowCount.TextChanged += new System.EventHandler(this.Tb_TextChanged); + tbRowCount.Location = new System.Drawing.Point(94, 71); + tbRowCount.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + tbRowCount.Name = "tbRowCount"; + tbRowCount.Size = new System.Drawing.Size(129, 23); + tbRowCount.TabIndex = 11; + tbRowCount.TextChanged += Tb_TextChanged; // - // cbCreateExampleDatasets - // - this.cbCreateExampleDatasets.AutoSize = true; - this.cbCreateExampleDatasets.Location = new System.Drawing.Point(543, 33); - this.cbCreateExampleDatasets.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cbCreateExampleDatasets.Name = "cbCreateExampleDatasets"; - this.cbCreateExampleDatasets.Size = new System.Drawing.Size(118, 19); - this.cbCreateExampleDatasets.TabIndex = 9; - this.cbCreateExampleDatasets.Text = "Example Datasets"; - this.cbCreateExampleDatasets.UseVisualStyleBackColor = true; - this.cbCreateExampleDatasets.CheckedChanged += new System.EventHandler(this.cbCreateExampleDatasets_CheckedChanged); - // - // cbCreateLoggingServer - // - this.cbCreateLoggingServer.AutoSize = true; - this.cbCreateLoggingServer.Location = new System.Drawing.Point(543, 156); - this.cbCreateLoggingServer.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cbCreateLoggingServer.Name = "cbCreateLoggingServer"; - this.cbCreateLoggingServer.Size = new System.Drawing.Size(118, 19); - this.cbCreateLoggingServer.TabIndex = 9; - this.cbCreateLoggingServer.Checked = true; - this.cbCreateLoggingServer.Text = Core.GlobalStrings.CreateALoggingServer; - this.cbCreateLoggingServer.UseVisualStyleBackColor = true; // tbSeed // - this.tbSeed.Location = new System.Drawing.Point(94, 22); - this.tbSeed.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.tbSeed.Name = "tbSeed"; - this.tbSeed.Size = new System.Drawing.Size(129, 23); - this.tbSeed.TabIndex = 11; - this.tbSeed.Text = "500"; - this.tbSeed.TextChanged += new System.EventHandler(this.Tb_TextChanged); + tbSeed.Location = new System.Drawing.Point(94, 22); + tbSeed.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + tbSeed.Name = "tbSeed"; + tbSeed.Size = new System.Drawing.Size(129, 23); + tbSeed.TabIndex = 11; + tbSeed.Text = "500"; + tbSeed.TextChanged += Tb_TextChanged; // // tbOtherKeywords // - this.tbOtherKeywords.Location = new System.Drawing.Point(108, 115); - this.tbOtherKeywords.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.tbOtherKeywords.Name = "tbOtherKeywords"; - this.tbOtherKeywords.Size = new System.Drawing.Size(410, 23); - this.tbOtherKeywords.TabIndex = 13; + tbOtherKeywords.Location = new System.Drawing.Point(108, 115); + tbOtherKeywords.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + tbOtherKeywords.Name = "tbOtherKeywords"; + tbOtherKeywords.Size = new System.Drawing.Size(410, 23); + tbOtherKeywords.TabIndex = 13; // // tbCreateDatabaseTimeout // - this.tbCreateDatabaseTimeout.Location = new System.Drawing.Point(108, 85); - this.tbCreateDatabaseTimeout.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.tbCreateDatabaseTimeout.Name = "tbCreateDatabaseTimeout"; - this.tbCreateDatabaseTimeout.Size = new System.Drawing.Size(90, 23); - this.tbCreateDatabaseTimeout.TabIndex = 13; - this.tbCreateDatabaseTimeout.Text = "30"; + tbCreateDatabaseTimeout.Location = new System.Drawing.Point(108, 85); + tbCreateDatabaseTimeout.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + tbCreateDatabaseTimeout.Name = "tbCreateDatabaseTimeout"; + tbCreateDatabaseTimeout.Size = new System.Drawing.Size(90, 23); + tbCreateDatabaseTimeout.TabIndex = 13; + tbCreateDatabaseTimeout.Text = "30"; // // label14 // - this.label14.AutoSize = true; - this.label14.Location = new System.Drawing.Point(10, 118); - this.label14.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label14.Name = "label14"; - this.label14.Size = new System.Drawing.Size(94, 15); - this.label14.TabIndex = 12; - this.label14.Text = "Other Keywords:"; + label14.AutoSize = true; + label14.Location = new System.Drawing.Point(10, 118); + label14.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label14.Name = "label14"; + label14.Size = new System.Drawing.Size(94, 15); + label14.TabIndex = 12; + label14.Text = "Other Keywords:"; // // label13 // - this.label13.AutoSize = true; - this.label13.Location = new System.Drawing.Point(10, 88); - this.label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label13.Name = "label13"; - this.label13.Size = new System.Drawing.Size(91, 15); - this.label13.TabIndex = 12; - this.label13.Text = "Create Timeout:"; + label13.AutoSize = true; + label13.Location = new System.Drawing.Point(10, 88); + label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label13.Name = "label13"; + label13.Size = new System.Drawing.Size(91, 15); + label13.TabIndex = 12; + label13.Text = "Create Timeout:"; // // label9 // - this.label9.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.label9.AutoSize = true; - this.label9.Location = new System.Drawing.Point(318, 156); - this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label9.Name = "label9"; - this.label9.Size = new System.Drawing.Size(564, 15); - this.label9.TabIndex = 8; - this.label9.Text = "(* Username and Password are Optional. If omitted then Integrated Security will " + - "be used - recommended)"; + label9.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right; + label9.AutoSize = true; + label9.Location = new System.Drawing.Point(318, 156); + label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + label9.Name = "label9"; + label9.Size = new System.Drawing.Size(564, 15); + label9.TabIndex = 8; + label9.Text = "(* Username and Password are Optional. If omitted then Integrated Security will be used - recommended)"; // // btnBack1 // - this.btnBack1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.btnBack1.Location = new System.Drawing.Point(8, 144); - this.btnBack1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.btnBack1.Name = "btnBack1"; - this.btnBack1.Size = new System.Drawing.Size(88, 27); - this.btnBack1.TabIndex = 5; - this.btnBack1.Text = "<< Back"; - this.btnBack1.UseVisualStyleBackColor = true; - this.btnBack1.Click += new System.EventHandler(this.btnBack_Click); + btnBack1.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left; + btnBack1.Location = new System.Drawing.Point(8, 144); + btnBack1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + btnBack1.Name = "btnBack1"; + btnBack1.Size = new System.Drawing.Size(88, 27); + btnBack1.TabIndex = 5; + btnBack1.Text = "<< Back"; + btnBack1.UseVisualStyleBackColor = true; + btnBack1.Click += btnBack_Click; // // pResults // - this.pResults.Controls.Add(this.checksUI1); - this.pResults.Controls.Add(this.label2); - this.pResults.Location = new System.Drawing.Point(14, 223); - this.pResults.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.pResults.Name = "pResults"; - this.pResults.Size = new System.Drawing.Size(874, 473); - this.pResults.TabIndex = 16; + pResults.Controls.Add(checksUI1); + pResults.Controls.Add(label2); + pResults.Location = new System.Drawing.Point(14, 223); + pResults.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + pResults.Name = "pResults"; + pResults.Size = new System.Drawing.Size(874, 473); + pResults.TabIndex = 16; + // + // btnUseYamlFile + // + btnUseYamlFile.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right; + btnUseYamlFile.Location = new System.Drawing.Point(800, 32); + btnUseYamlFile.Name = "btnUseYamlFile"; + btnUseYamlFile.Size = new System.Drawing.Size(108, 23); + btnUseYamlFile.TabIndex = 10; + btnUseYamlFile.Text = "Use yaml File"; + btnUseYamlFile.UseVisualStyleBackColor = true; + btnUseYamlFile.Click += btnUseYamlFile_Click; // // ChoosePlatformDatabasesUI // - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1477, 710); - this.Controls.Add(this.gbCreateNew); - this.Controls.Add(this.pChooseOption); - this.Controls.Add(this.gbUseExisting); - this.Controls.Add(this.pResults); - this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.Name = "ChoosePlatformDatabasesUI"; - this.Text = "Platform Databases"; - this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.ChooseDatabase_KeyUp); - this.gbUseExisting.ResumeLayout(false); - this.gbUseExisting.PerformLayout(); - this.pReferenceADataExport.ResumeLayout(false); - this.pReferenceADataExport.PerformLayout(); - this.pReferenceACatalogue.ResumeLayout(false); - this.pReferenceACatalogue.PerformLayout(); - this.pChooseOption.ResumeLayout(false); - this.pChooseOption.PerformLayout(); - this.gbCreateNew.ResumeLayout(false); - this.gbCreateNew.PerformLayout(); - this.gbSqlAuthentication.ResumeLayout(false); - this.gbSqlAuthentication.PerformLayout(); - this.gbExampleDatasets.ResumeLayout(false); - this.gbExampleDatasets.PerformLayout(); - this.pResults.ResumeLayout(false); - this.pResults.PerformLayout(); - this.ResumeLayout(false); - + AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); + AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + ClientSize = new System.Drawing.Size(1477, 710); + Controls.Add(gbCreateNew); + Controls.Add(pChooseOption); + Controls.Add(gbUseExisting); + Controls.Add(pResults); + Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + Name = "ChoosePlatformDatabasesUI"; + Text = "Platform Databases"; + KeyUp += ChooseDatabase_KeyUp; + gbUseExisting.ResumeLayout(false); + gbUseExisting.PerformLayout(); + pReferenceADataExport.ResumeLayout(false); + pReferenceADataExport.PerformLayout(); + pReferenceACatalogue.ResumeLayout(false); + pReferenceACatalogue.PerformLayout(); + pChooseOption.ResumeLayout(false); + pChooseOption.PerformLayout(); + gbCreateNew.ResumeLayout(false); + gbCreateNew.PerformLayout(); + gbSqlAuthentication.ResumeLayout(false); + gbSqlAuthentication.PerformLayout(); + gbExampleDatasets.ResumeLayout(false); + gbExampleDatasets.PerformLayout(); + pResults.ResumeLayout(false); + pResults.PerformLayout(); + ResumeLayout(false); } #endregion @@ -700,5 +706,6 @@ private void InitializeComponent() private System.Windows.Forms.Label label14; private System.Windows.Forms.Label label13; private System.Windows.Forms.GroupBox gbSqlAuthentication; + private System.Windows.Forms.Button btnUseYamlFile; } } \ No newline at end of file diff --git a/Rdmp.UI/LocationsMenu/ChoosePlatformDatabasesUI.cs b/Rdmp.UI/LocationsMenu/ChoosePlatformDatabasesUI.cs index 7b943af695..8d1318961d 100644 --- a/Rdmp.UI/LocationsMenu/ChoosePlatformDatabasesUI.cs +++ b/Rdmp.UI/LocationsMenu/ChoosePlatformDatabasesUI.cs @@ -1,4 +1,4 @@ -// Copyright (c) The University of Dundee 2018-2019 +// Copyright (c) The University of Dundee 2018-2024 // This file is part of the Research Data Management Platform (RDMP). // RDMP is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. // RDMP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. @@ -25,6 +25,7 @@ using Rdmp.UI.ChecksUI; using Rdmp.UI.DataLoadUIs.ModuleUIs; using Rdmp.UI.SimpleDialogs; +using YamlDotNet.RepresentationModel; using YamlDotNet.Serialization; namespace Rdmp.UI.LocationsMenu; @@ -379,6 +380,45 @@ private void btnBack_Click(object sender, EventArgs e) SetState(State.PickNewOrExisting); } + private void btnUseYamlFile_Click(object sender, EventArgs e) + { + using var fb = new OpenFileDialog(); + var result = fb.ShowDialog(); + if (result == DialogResult.OK) + { + try + { + var location = new DirectoryInfo(fb.FileName); + using (var reader = new StreamReader(location.FullName)) + { + // Load the stream + var yaml = new YamlStream(); + yaml.Load(reader); + var docs = yaml.Documents.First().AllNodes.Select(n => n.ToString()); + string catalogueConnectionString = null; + string dataExportConnectionString = null; + foreach (var item in docs.Select((value, i) => new { i, value })) + { + var value = item.value; + + if (value == "CatalogueConnectionString") catalogueConnectionString = docs.ToList()[item.i + 1]; + if (value == "DataExportConnectionString") dataExportConnectionString = docs.ToList()[item.i + 1]; + } + if (catalogueConnectionString != null) tbCatalogueConnectionString.Text = catalogueConnectionString; + if (dataExportConnectionString != null) tbDataExportManagerConnectionString.Text = dataExportConnectionString; + + } + } + catch (Exception) + { + //Unable to parse yaml file + tbCatalogueConnectionString.Text = null; + tbDataExportManagerConnectionString.Text = null; + } + + }; + } + private void btnBrowseForCatalogue_Click(object sender, EventArgs e) { var dialog = new ServerDatabaseTableSelectorDialog("Catalogue Database", false, false, null); diff --git a/Rdmp.UI/LocationsMenu/ChoosePlatformDatabasesUI.resx b/Rdmp.UI/LocationsMenu/ChoosePlatformDatabasesUI.resx index f298a7be80..af32865ec1 100644 --- a/Rdmp.UI/LocationsMenu/ChoosePlatformDatabasesUI.resx +++ b/Rdmp.UI/LocationsMenu/ChoosePlatformDatabasesUI.resx @@ -1,4 +1,64 @@ - + + +