Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/DesignWaterLevelLocationsView.Designer.cs =================================================================== diff -u -red0ac171987ec828fb4aebf32493a41d43c7599c -ra411c62ff26b831c05472ad3a45e7ec753071b6f --- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/DesignWaterLevelLocationsView.Designer.cs (.../DesignWaterLevelLocationsView.Designer.cs) (revision ed0ac171987ec828fb4aebf32493a41d43c7599c) +++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/DesignWaterLevelLocationsView.Designer.cs (.../DesignWaterLevelLocationsView.Designer.cs) (revision a411c62ff26b831c05472ad3a45e7ec753071b6f) @@ -37,94 +37,78 @@ private void InitializeComponent() { this.dataGridViewControl = new Core.Common.Controls.DataGrid.DataGridViewControl(); - this.tableLayoutPanel = new System.Windows.Forms.TableLayoutPanel(); - this.ButtonGroupBox = new System.Windows.Forms.GroupBox(); - this.CalculateForSelectedButton = new System.Windows.Forms.Button(); - this.DeselectAllButton = new System.Windows.Forms.Button(); this.SelectAllButton = new System.Windows.Forms.Button(); - this.tableLayoutPanel.SuspendLayout(); + this.DeselectAllButton = new System.Windows.Forms.Button(); + this.CalculateForSelectedButton = new System.Windows.Forms.Button(); + this.ButtonGroupBox = new System.Windows.Forms.GroupBox(); this.ButtonGroupBox.SuspendLayout(); this.SuspendLayout(); // // dataGridViewControl // this.dataGridViewControl.Dock = System.Windows.Forms.DockStyle.Fill; - this.dataGridViewControl.Location = new System.Drawing.Point(3, 3); + this.dataGridViewControl.Location = new System.Drawing.Point(0, 0); this.dataGridViewControl.MultiSelect = true; this.dataGridViewControl.Name = "dataGridViewControl"; this.dataGridViewControl.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.RowHeaderSelect; - this.dataGridViewControl.Size = new System.Drawing.Size(529, 264); + this.dataGridViewControl.Size = new System.Drawing.Size(523, 346); this.dataGridViewControl.TabIndex = 0; // - // tableLayoutPanel + // SelectAllButton // - this.tableLayoutPanel.ColumnCount = 1; - this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanel.Controls.Add(this.dataGridViewControl, 0, 0); - this.tableLayoutPanel.Controls.Add(this.ButtonGroupBox, 0, 1); - this.tableLayoutPanel.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanel.Location = new System.Drawing.Point(0, 0); - this.tableLayoutPanel.Name = "tableLayoutPanel"; - this.tableLayoutPanel.RowCount = 2; - this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanel.Size = new System.Drawing.Size(535, 329); - this.tableLayoutPanel.TabIndex = 1; + this.SelectAllButton.Location = new System.Drawing.Point(6, 22); + this.SelectAllButton.Name = "SelectAllButton"; + this.SelectAllButton.Size = new System.Drawing.Size(98, 23); + this.SelectAllButton.TabIndex = 0; + this.SelectAllButton.Text = "Selecteer alles"; + this.SelectAllButton.UseVisualStyleBackColor = true; + this.SelectAllButton.Click += new System.EventHandler(this.SelectAllButton_Click); // - // ButtonGroupBox + // DeselectAllButton // - this.ButtonGroupBox.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.ButtonGroupBox.Controls.Add(this.CalculateForSelectedButton); - this.ButtonGroupBox.Controls.Add(this.DeselectAllButton); - this.ButtonGroupBox.Controls.Add(this.SelectAllButton); - this.ButtonGroupBox.Location = new System.Drawing.Point(3, 275); - this.ButtonGroupBox.Margin = new System.Windows.Forms.Padding(3, 5, 3, 3); - this.ButtonGroupBox.Name = "ButtonGroupBox"; - this.ButtonGroupBox.Size = new System.Drawing.Size(529, 51); - this.ButtonGroupBox.TabIndex = 1; - this.ButtonGroupBox.TabStop = false; - this.ButtonGroupBox.Text = "Toetspeilen berekenen"; + this.DeselectAllButton.Location = new System.Drawing.Point(110, 22); + this.DeselectAllButton.Name = "DeselectAllButton"; + this.DeselectAllButton.Size = new System.Drawing.Size(111, 23); + this.DeselectAllButton.TabIndex = 1; + this.DeselectAllButton.Text = "Deselecteer alles"; + this.DeselectAllButton.UseVisualStyleBackColor = true; + this.DeselectAllButton.Click += new System.EventHandler(this.DeselectAllButton_Click); // // CalculateForSelectedButton // - this.CalculateForSelectedButton.Location = new System.Drawing.Point(227, 19); + this.CalculateForSelectedButton.Enabled = false; + this.CalculateForSelectedButton.Location = new System.Drawing.Point(227, 22); this.CalculateForSelectedButton.Name = "CalculateForSelectedButton"; this.CalculateForSelectedButton.Size = new System.Drawing.Size(207, 23); this.CalculateForSelectedButton.TabIndex = 2; this.CalculateForSelectedButton.Text = "Bereken voor geselecteerde locaties"; this.CalculateForSelectedButton.UseVisualStyleBackColor = true; this.CalculateForSelectedButton.Click += new System.EventHandler(this.CalculateForSelectedButton_Click); // - // DeselectAllButton + // ButtonGroupBox // - this.DeselectAllButton.Location = new System.Drawing.Point(110, 19); - this.DeselectAllButton.Name = "DeselectAllButton"; - this.DeselectAllButton.Size = new System.Drawing.Size(111, 23); - this.DeselectAllButton.TabIndex = 1; - this.DeselectAllButton.Text = "Deselecteer alles"; - this.DeselectAllButton.UseVisualStyleBackColor = true; - this.DeselectAllButton.Click += new System.EventHandler(this.DeselectAllButton_Click); + this.ButtonGroupBox.Controls.Add(this.CalculateForSelectedButton); + this.ButtonGroupBox.Controls.Add(this.DeselectAllButton); + this.ButtonGroupBox.Controls.Add(this.SelectAllButton); + this.ButtonGroupBox.Dock = System.Windows.Forms.DockStyle.Bottom; + this.ButtonGroupBox.Location = new System.Drawing.Point(0, 346); + this.ButtonGroupBox.MinimumSize = new System.Drawing.Size(438, 59); + this.ButtonGroupBox.Name = "ButtonGroupBox"; + this.ButtonGroupBox.Size = new System.Drawing.Size(523, 59); + this.ButtonGroupBox.TabIndex = 1; + this.ButtonGroupBox.TabStop = false; + this.ButtonGroupBox.Text = "Toetspeilen berekenen"; // - // SelectAllButton - // - this.SelectAllButton.Location = new System.Drawing.Point(6, 19); - this.SelectAllButton.Name = "SelectAllButton"; - this.SelectAllButton.Size = new System.Drawing.Size(98, 23); - this.SelectAllButton.TabIndex = 0; - this.SelectAllButton.Text = "Selecteer alles"; - this.SelectAllButton.UseVisualStyleBackColor = true; - this.SelectAllButton.Click += new System.EventHandler(this.SelectAllButton_Click); - // // DesignWaterLevelLocationsView // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.tableLayoutPanel); + this.AutoScroll = true; + this.AutoScrollMinSize = new System.Drawing.Size(520, 342); + this.Controls.Add(this.dataGridViewControl); + this.Controls.Add(this.ButtonGroupBox); this.Name = "DesignWaterLevelLocationsView"; - this.Size = new System.Drawing.Size(535, 329); - this.tableLayoutPanel.ResumeLayout(false); + this.Size = new System.Drawing.Size(523, 405); this.ButtonGroupBox.ResumeLayout(false); this.ResumeLayout(false); @@ -133,10 +117,9 @@ #endregion private Core.Common.Controls.DataGrid.DataGridViewControl dataGridViewControl; - private System.Windows.Forms.TableLayoutPanel tableLayoutPanel; - private System.Windows.Forms.GroupBox ButtonGroupBox; - private System.Windows.Forms.Button CalculateForSelectedButton; - private System.Windows.Forms.Button DeselectAllButton; private System.Windows.Forms.Button SelectAllButton; + private System.Windows.Forms.Button DeselectAllButton; + private System.Windows.Forms.Button CalculateForSelectedButton; + private System.Windows.Forms.GroupBox ButtonGroupBox; } }