(1) ResultsBrowser ver. 2.18.1096, (2) Reload previous results button shown always, translated to German.

This commit is contained in:
Milan Hanajik 2018-12-14 12:02:30 +01:00
parent 9ba3fd34d3
commit 55aff104ae
6 changed files with 120 additions and 108 deletions

View File

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.18.995.0")] [assembly: AssemblyVersion("2.18.1096.0")]
[assembly: AssemblyFileVersion("2.18.995.0")] [assembly: AssemblyFileVersion("2.18.1096.0")]

View File

@ -3633,6 +3633,15 @@ namespace TBF.Resources {
} }
} }
/// <summary>
/// Looks up a localized string similar to Reload previous results.
/// </summary>
internal static string Reload_previous_results {
get {
return ResourceManager.GetString("Reload_previous_results", resourceCulture);
}
}
/// <summary> /// <summary>
/// Looks up a localized string similar to remaining time. /// Looks up a localized string similar to remaining time.
/// </summary> /// </summary>

View File

@ -1449,4 +1449,7 @@
<data name="Press_OK_when_done" xml:space="preserve"> <data name="Press_OK_when_done" xml:space="preserve">
<value>Drucken Sie OK, wenn Sie fertig sind.</value> <value>Drucken Sie OK, wenn Sie fertig sind.</value>
</data> </data>
<data name="Reload_previous_results" xml:space="preserve">
<value>Vorherige Ergebnisse Herunterladen</value>
</data>
</root> </root>

View File

@ -1909,4 +1909,7 @@
<data name="Error_saving_parameters_of_0" xml:space="preserve"> <data name="Error_saving_parameters_of_0" xml:space="preserve">
<value>Error saving parameters of {0}</value> <value>Error saving parameters of {0}</value>
</data> </data>
<data name="Reload_previous_results" xml:space="preserve">
<value>Reload previous results</value>
</data>
</root> </root>

View File

@ -31,108 +31,108 @@ namespace TBF.Screens
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.splitContainer = new System.Windows.Forms.SplitContainer(); this.splitContainer = new System.Windows.Forms.SplitContainer();
this.reloadPreviousResultsButton = new System.Windows.Forms.Button(); this.reloadPreviousResultsButton = new System.Windows.Forms.Button();
this.columnWidthsButton = new System.Windows.Forms.Button(); this.columnWidthsButton = new System.Windows.Forms.Button();
this.showPreviousResultsButton = new System.Windows.Forms.Button(); this.showPreviousResultsButton = new System.Windows.Forms.Button();
this.configureButton = new System.Windows.Forms.Button(); this.configureButton = new System.Windows.Forms.Button();
this.flowLayoutPanel = new System.Windows.Forms.FlowLayoutPanel(); this.flowLayoutPanel = new System.Windows.Forms.FlowLayoutPanel();
((System.ComponentModel.ISupportInitialize)(this.splitContainer)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer)).BeginInit();
this.splitContainer.Panel1.SuspendLayout(); this.splitContainer.Panel1.SuspendLayout();
this.splitContainer.Panel2.SuspendLayout(); this.splitContainer.Panel2.SuspendLayout();
this.splitContainer.SuspendLayout(); this.splitContainer.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
// //
// splitContainer // splitContainer
// //
this.splitContainer.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; this.splitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
this.splitContainer.IsSplitterFixed = true; this.splitContainer.IsSplitterFixed = true;
this.splitContainer.Location = new System.Drawing.Point(0, 0); this.splitContainer.Location = new System.Drawing.Point(0, 0);
this.splitContainer.Name = "splitContainer"; this.splitContainer.Name = "splitContainer";
this.splitContainer.Orientation = System.Windows.Forms.Orientation.Horizontal; this.splitContainer.Orientation = System.Windows.Forms.Orientation.Horizontal;
// //
// splitContainer.Panel1 // splitContainer.Panel1
// //
this.splitContainer.Panel1.BackColor = System.Drawing.SystemColors.Control; this.splitContainer.Panel1.BackColor = System.Drawing.SystemColors.Control;
this.splitContainer.Panel1.Controls.Add(this.reloadPreviousResultsButton); this.splitContainer.Panel1.Controls.Add(this.reloadPreviousResultsButton);
this.splitContainer.Panel1.Controls.Add(this.columnWidthsButton); this.splitContainer.Panel1.Controls.Add(this.columnWidthsButton);
this.splitContainer.Panel1.Controls.Add(this.showPreviousResultsButton); this.splitContainer.Panel1.Controls.Add(this.showPreviousResultsButton);
this.splitContainer.Panel1.Controls.Add(this.configureButton); this.splitContainer.Panel1.Controls.Add(this.configureButton);
// //
// splitContainer.Panel2 // splitContainer.Panel2
// //
this.splitContainer.Panel2.Controls.Add(this.flowLayoutPanel); this.splitContainer.Panel2.Controls.Add(this.flowLayoutPanel);
this.splitContainer.Size = new System.Drawing.Size(1057, 706); this.splitContainer.Size = new System.Drawing.Size(1057, 706);
this.splitContainer.SplitterDistance = 42; this.splitContainer.SplitterDistance = 42;
this.splitContainer.TabIndex = 0; this.splitContainer.TabIndex = 0;
// //
// reloadPreviousResultsButton // reloadPreviousResultsButton
// //
this.reloadPreviousResultsButton.Enabled = false; this.reloadPreviousResultsButton.Enabled = false;
this.reloadPreviousResultsButton.Location = new System.Drawing.Point(405, 10); this.reloadPreviousResultsButton.Location = new System.Drawing.Point(405, 10);
this.reloadPreviousResultsButton.Name = "reloadPreviousResultsButton"; this.reloadPreviousResultsButton.Name = "reloadPreviousResultsButton";
this.reloadPreviousResultsButton.Size = new System.Drawing.Size(147, 30); this.reloadPreviousResultsButton.Size = new System.Drawing.Size(185, 30);
this.reloadPreviousResultsButton.TabIndex = 3; this.reloadPreviousResultsButton.TabIndex = 3;
this.reloadPreviousResultsButton.Text = "Reload previous results"; this.reloadPreviousResultsButton.Text = "Reload previous results";
this.reloadPreviousResultsButton.UseVisualStyleBackColor = true; this.reloadPreviousResultsButton.UseVisualStyleBackColor = true;
this.reloadPreviousResultsButton.Click += new System.EventHandler(this.reloadPreviousResultsButton_Click); this.reloadPreviousResultsButton.Click += new System.EventHandler(this.reloadPreviousResultsButton_Click);
// //
// columnWidthsButton // columnWidthsButton
// //
this.columnWidthsButton.Location = new System.Drawing.Point(126, 10); this.columnWidthsButton.Location = new System.Drawing.Point(126, 10);
this.columnWidthsButton.Name = "columnWidthsButton"; this.columnWidthsButton.Name = "columnWidthsButton";
this.columnWidthsButton.Size = new System.Drawing.Size(120, 30); this.columnWidthsButton.Size = new System.Drawing.Size(120, 30);
this.columnWidthsButton.TabIndex = 1; this.columnWidthsButton.TabIndex = 1;
this.columnWidthsButton.Text = "Save column widths"; this.columnWidthsButton.Text = "Save column widths";
this.columnWidthsButton.UseVisualStyleBackColor = true; this.columnWidthsButton.UseVisualStyleBackColor = true;
this.columnWidthsButton.Click += new System.EventHandler(this.columnWidthsButton_Click); this.columnWidthsButton.Click += new System.EventHandler(this.columnWidthsButton_Click);
// //
// showPreviousResultsButton // showPreviousResultsButton
// //
this.showPreviousResultsButton.Location = new System.Drawing.Point(252, 10); this.showPreviousResultsButton.Location = new System.Drawing.Point(252, 10);
this.showPreviousResultsButton.Name = "showPreviousResultsButton"; this.showPreviousResultsButton.Name = "showPreviousResultsButton";
this.showPreviousResultsButton.Size = new System.Drawing.Size(147, 30); this.showPreviousResultsButton.Size = new System.Drawing.Size(147, 30);
this.showPreviousResultsButton.TabIndex = 2; this.showPreviousResultsButton.TabIndex = 2;
this.showPreviousResultsButton.Text = "Show previous results"; this.showPreviousResultsButton.Text = "Show previous results";
this.showPreviousResultsButton.UseVisualStyleBackColor = true; this.showPreviousResultsButton.UseVisualStyleBackColor = true;
this.showPreviousResultsButton.Click += new System.EventHandler(this.showPreviousResultsButton_Click); this.showPreviousResultsButton.Click += new System.EventHandler(this.showPreviousResultsButton_Click);
// //
// configureButton // configureButton
// //
this.configureButton.Location = new System.Drawing.Point(20, 10); this.configureButton.Location = new System.Drawing.Point(20, 10);
this.configureButton.Name = "configureButton"; this.configureButton.Name = "configureButton";
this.configureButton.Size = new System.Drawing.Size(100, 30); this.configureButton.Size = new System.Drawing.Size(100, 30);
this.configureButton.TabIndex = 0; this.configureButton.TabIndex = 0;
this.configureButton.Text = "Configure"; this.configureButton.Text = "Configure";
this.configureButton.UseVisualStyleBackColor = true; this.configureButton.UseVisualStyleBackColor = true;
this.configureButton.Click += new System.EventHandler(this.configureButton_Click); this.configureButton.Click += new System.EventHandler(this.configureButton_Click);
// //
// flowLayoutPanel // flowLayoutPanel
// //
this.flowLayoutPanel.AutoScroll = true; this.flowLayoutPanel.AutoScroll = true;
this.flowLayoutPanel.BackColor = System.Drawing.SystemColors.Control; this.flowLayoutPanel.BackColor = System.Drawing.SystemColors.Control;
this.flowLayoutPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.flowLayoutPanel.Dock = System.Windows.Forms.DockStyle.Fill;
this.flowLayoutPanel.Location = new System.Drawing.Point(0, 0); this.flowLayoutPanel.Location = new System.Drawing.Point(0, 0);
this.flowLayoutPanel.Name = "flowLayoutPanel"; this.flowLayoutPanel.Name = "flowLayoutPanel";
this.flowLayoutPanel.Size = new System.Drawing.Size(1057, 660); this.flowLayoutPanel.Size = new System.Drawing.Size(1057, 660);
this.flowLayoutPanel.TabIndex = 0; this.flowLayoutPanel.TabIndex = 0;
// //
// ResultsTabPageCtrl // ResultsTabPageCtrl
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.Silver; this.BackColor = System.Drawing.Color.Silver;
this.Controls.Add(this.splitContainer); this.Controls.Add(this.splitContainer);
this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.Name = "ResultsTabPageCtrl"; this.Name = "ResultsTabPageCtrl";
this.Size = new System.Drawing.Size(1057, 706); this.Size = new System.Drawing.Size(1057, 706);
this.Load += new System.EventHandler(this.ResultsTabPageCtrl_Load); this.Load += new System.EventHandler(this.ResultsTabPageCtrl_Load);
this.splitContainer.Panel1.ResumeLayout(false); this.splitContainer.Panel1.ResumeLayout(false);
this.splitContainer.Panel2.ResumeLayout(false); this.splitContainer.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer)).EndInit();
this.splitContainer.ResumeLayout(false); this.splitContainer.ResumeLayout(false);
this.ResumeLayout(false); this.ResumeLayout(false);
} }

View File

@ -42,10 +42,6 @@ namespace TBF.Screens
{ {
InitializeComponent(); InitializeComponent();
#if MUNICH
reloadPreviousResultsButton.Visible = false;
#endif
if (Program.LocalSettings != null) if (Program.LocalSettings != null)
{ {
MetersArrangement = Program.LocalSettings.ResultsConfigMeters; MetersArrangement = Program.LocalSettings.ResultsConfigMeters;
@ -104,6 +100,7 @@ namespace TBF.Screens
configureButton.Text = Strings.Configure; configureButton.Text = Strings.Configure;
columnWidthsButton.Text = Strings.Save_column_widths; columnWidthsButton.Text = Strings.Save_column_widths;
showPreviousResultsButton.Text = Strings.Previous_results; showPreviousResultsButton.Text = Strings.Previous_results;
reloadPreviousResultsButton.Text = Strings.Reload_previous_results;
RedrawAll(TBF.BenchControl.Sequences.ProcessData.BatchRslts); RedrawAll(TBF.BenchControl.Sequences.ProcessData.BatchRslts);
} }