Index: Ringtoets/Common/src/Ringtoets.Common.Forms/Properties/Resources.Designer.cs =================================================================== diff -u -r1dc89167ccdfcc4069e7bceb1db90dba570daba9 -r1e5ad56c5709dbdc59254e6f723d01e0bce55454 --- Ringtoets/Common/src/Ringtoets.Common.Forms/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 1dc89167ccdfcc4069e7bceb1db90dba570daba9) +++ Ringtoets/Common/src/Ringtoets.Common.Forms/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 1e5ad56c5709dbdc59254e6f723d01e0bce55454) @@ -1476,6 +1476,42 @@ } /// + /// Looks up a localized string similar to Annuleren. + /// + public static string SelectionDialogBase_SelectionDialogBase_Cancel { + get { + return ResourceManager.GetString("SelectionDialogBase_SelectionDialogBase_Cancel", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Deselecteer alles. + /// + public static string SelectionDialogBase_SelectionDialogBase_Deselect_all { + get { + return ResourceManager.GetString("SelectionDialogBase_SelectionDialogBase_Deselect_all", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Genereren. + /// + public static string SelectionDialogBase_SelectionDialogBase_Generate { + get { + return ResourceManager.GetString("SelectionDialogBase_SelectionDialogBase_Generate", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Selecteer alles. + /// + public static string SelectionDialogBase_SelectionDialogBase_Select_all { + get { + return ResourceManager.GetString("SelectionDialogBase_SelectionDialogBase_Select_all", resourceCulture); + } + } + + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// public static System.Drawing.Bitmap SelectionDialogIcon { Index: Ringtoets/Common/src/Ringtoets.Common.Forms/Properties/Resources.resx =================================================================== diff -u -r1dc89167ccdfcc4069e7bceb1db90dba570daba9 -r1e5ad56c5709dbdc59254e6f723d01e0bce55454 --- Ringtoets/Common/src/Ringtoets.Common.Forms/Properties/Resources.resx (.../Resources.resx) (revision 1dc89167ccdfcc4069e7bceb1db90dba570daba9) +++ Ringtoets/Common/src/Ringtoets.Common.Forms/Properties/Resources.resx (.../Resources.resx) (revision 1e5ad56c5709dbdc59254e6f723d01e0bce55454) @@ -601,4 +601,16 @@ Gebruik + + Selecteer alles + + + Deselecteer alles + + + Genereren + + + Annuleren + \ No newline at end of file Index: Ringtoets/Common/src/Ringtoets.Common.Forms/Ringtoets.Common.Forms.csproj =================================================================== diff -u -r76511556cd5348a48bb0401dae48e6ed2215fa61 -r1e5ad56c5709dbdc59254e6f723d01e0bce55454 --- Ringtoets/Common/src/Ringtoets.Common.Forms/Ringtoets.Common.Forms.csproj (.../Ringtoets.Common.Forms.csproj) (revision 76511556cd5348a48bb0401dae48e6ed2215fa61) +++ Ringtoets/Common/src/Ringtoets.Common.Forms/Ringtoets.Common.Forms.csproj (.../Ringtoets.Common.Forms.csproj) (revision 1e5ad56c5709dbdc59254e6f723d01e0bce55454) @@ -85,11 +85,6 @@ SelectionDialogBase.cs - - True - True - SelectionDialogBase.resx - @@ -118,12 +113,6 @@ Resources.Designer.cs Designer - - SelectionDialogBase.cs - Designer - PublicResXFileCodeGenerator - SelectionDialogBase1.Designer.cs - CommentView.cs Index: Ringtoets/Common/src/Ringtoets.Common.Forms/SelectionDialogBase.Designer.cs =================================================================== diff -u -r76511556cd5348a48bb0401dae48e6ed2215fa61 -r1e5ad56c5709dbdc59254e6f723d01e0bce55454 --- Ringtoets/Common/src/Ringtoets.Common.Forms/SelectionDialogBase.Designer.cs (.../SelectionDialogBase.Designer.cs) (revision 76511556cd5348a48bb0401dae48e6ed2215fa61) +++ Ringtoets/Common/src/Ringtoets.Common.Forms/SelectionDialogBase.Designer.cs (.../SelectionDialogBase.Designer.cs) (revision 1e5ad56c5709dbdc59254e6f723d01e0bce55454) @@ -36,7 +36,6 @@ /// private void InitializeComponent() { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SelectionDialogBase)); this.DataGridViewControl = new Core.Common.Controls.DataGrid.DataGridViewControl(); this.ButtonGroupBox = new System.Windows.Forms.GroupBox(); this.panel2 = new System.Windows.Forms.Panel(); @@ -52,68 +51,100 @@ // // DataGridViewControl // - resources.ApplyResources(this.DataGridViewControl, "DataGridViewControl"); + this.DataGridViewControl.Dock = System.Windows.Forms.DockStyle.Fill; + this.DataGridViewControl.Location = new System.Drawing.Point(3, 16); this.DataGridViewControl.MultiSelect = true; this.DataGridViewControl.Name = "DataGridViewControl"; + this.DataGridViewControl.Padding = new System.Windows.Forms.Padding(0, 0, 0, 5); this.DataGridViewControl.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.RowHeaderSelect; + this.DataGridViewControl.Size = new System.Drawing.Size(261, 66); + this.DataGridViewControl.TabIndex = 0; // // ButtonGroupBox // this.ButtonGroupBox.Controls.Add(this.DataGridViewControl); this.ButtonGroupBox.Controls.Add(this.panel2); - resources.ApplyResources(this.ButtonGroupBox, "ButtonGroupBox"); + this.ButtonGroupBox.Dock = System.Windows.Forms.DockStyle.Fill; + this.ButtonGroupBox.Location = new System.Drawing.Point(0, 0); this.ButtonGroupBox.Name = "ButtonGroupBox"; + this.ButtonGroupBox.Size = new System.Drawing.Size(267, 124); + this.ButtonGroupBox.TabIndex = 7; this.ButtonGroupBox.TabStop = false; // // panel2 // this.panel2.Controls.Add(this.SelectAllButton); this.panel2.Controls.Add(this.DeselectAllButton); - resources.ApplyResources(this.panel2, "panel2"); + this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom; + this.panel2.Location = new System.Drawing.Point(3, 82); this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(261, 39); + this.panel2.TabIndex = 6; // // SelectAllButton // - resources.ApplyResources(this.SelectAllButton, "SelectAllButton"); + this.SelectAllButton.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.SelectAllButton.Location = new System.Drawing.Point(9, 6); this.SelectAllButton.Name = "SelectAllButton"; + this.SelectAllButton.Size = new System.Drawing.Size(111, 23); + this.SelectAllButton.TabIndex = 5; this.SelectAllButton.UseVisualStyleBackColor = true; this.SelectAllButton.Click += new System.EventHandler(this.SelectAllButton_Click); // // DeselectAllButton // - resources.ApplyResources(this.DeselectAllButton, "DeselectAllButton"); + this.DeselectAllButton.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.DeselectAllButton.Location = new System.Drawing.Point(126, 6); this.DeselectAllButton.Name = "DeselectAllButton"; + this.DeselectAllButton.Size = new System.Drawing.Size(111, 23); + this.DeselectAllButton.TabIndex = 4; this.DeselectAllButton.UseVisualStyleBackColor = true; this.DeselectAllButton.Click += new System.EventHandler(this.DeselectAllButton_Click); // // DoForSelectedButton // - resources.ApplyResources(this.DoForSelectedButton, "DoForSelectedButton"); + this.DoForSelectedButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.DoForSelectedButton.Enabled = false; + this.DoForSelectedButton.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.DoForSelectedButton.Location = new System.Drawing.Point(80, 6); this.DoForSelectedButton.Name = "DoForSelectedButton"; + this.DoForSelectedButton.Size = new System.Drawing.Size(86, 23); + this.DoForSelectedButton.TabIndex = 3; this.DoForSelectedButton.UseVisualStyleBackColor = true; this.DoForSelectedButton.Click += new System.EventHandler(this.DoForSelectedButton_Click); // // CustomCancelButton // - resources.ApplyResources(this.CustomCancelButton, "CustomCancelButton"); + this.CustomCancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.CustomCancelButton.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.CustomCancelButton.Location = new System.Drawing.Point(172, 6); this.CustomCancelButton.Name = "CustomCancelButton"; + this.CustomCancelButton.Size = new System.Drawing.Size(86, 23); + this.CustomCancelButton.TabIndex = 6; this.CustomCancelButton.UseVisualStyleBackColor = true; this.CustomCancelButton.Click += new System.EventHandler(this.CustomCancelButton_Click); // // panel1 // this.panel1.Controls.Add(this.DoForSelectedButton); this.panel1.Controls.Add(this.CustomCancelButton); - resources.ApplyResources(this.panel1, "panel1"); + this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.panel1.Location = new System.Drawing.Point(0, 124); this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(267, 35); + this.panel1.TabIndex = 8; // // SelectionDialogBase // - resources.ApplyResources(this, "$this"); + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScroll = true; + this.AutoScrollMinSize = new System.Drawing.Size(240, 90); + this.ClientSize = new System.Drawing.Size(267, 159); this.Controls.Add(this.ButtonGroupBox); this.Controls.Add(this.panel1); this.Name = "SelectionDialogBase"; + this.Text = "SelectionDialogBase"; this.ButtonGroupBox.ResumeLayout(false); this.panel2.ResumeLayout(false); this.panel1.ResumeLayout(false); Index: Ringtoets/Common/src/Ringtoets.Common.Forms/SelectionDialogBase.cs =================================================================== diff -u -r76511556cd5348a48bb0401dae48e6ed2215fa61 -r1e5ad56c5709dbdc59254e6f723d01e0bce55454 --- Ringtoets/Common/src/Ringtoets.Common.Forms/SelectionDialogBase.cs (.../SelectionDialogBase.cs) (revision 76511556cd5348a48bb0401dae48e6ed2215fa61) +++ Ringtoets/Common/src/Ringtoets.Common.Forms/SelectionDialogBase.cs (.../SelectionDialogBase.cs) (revision 1e5ad56c5709dbdc59254e6f723d01e0bce55454) @@ -47,10 +47,19 @@ { InitializeComponent(); InitializeEventHandlers(); + Localize(); SelectedItems = new List(); } + private void Localize() + { + SelectAllButton.Text = Resources.SelectionDialogBase_SelectionDialogBase_Select_all; + DeselectAllButton.Text = Resources.SelectionDialogBase_SelectionDialogBase_Deselect_all; + DoForSelectedButton.Text = Resources.SelectionDialogBase_SelectionDialogBase_Generate; + CustomCancelButton.Text = Resources.SelectionDialogBase_SelectionDialogBase_Cancel; + } + /// /// Gets a collection of selected if they were selected /// in the dialog and a confirmation was given. If no confirmation was given or no Fisheye: Tag 1e5ad56c5709dbdc59254e6f723d01e0bce55454 refers to a dead (removed) revision in file `Ringtoets/Common/src/Ringtoets.Common.Forms/SelectionDialogBase.resx'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1e5ad56c5709dbdc59254e6f723d01e0bce55454 refers to a dead (removed) revision in file `Ringtoets/Common/src/Ringtoets.Common.Forms/SelectionDialogBase1.Designer.cs'. Fisheye: No comparison available. Pass `N' to diff?