Munich : Previous results form : 'Show' button localization, etc.

This commit is contained in:
Milan Hanajik 2016-11-16 15:28:02 +01:00
parent ec0eecde50
commit 16d471f12e
6 changed files with 40 additions and 9 deletions

View File

@ -44,7 +44,7 @@
//
this.sendButton.Location = new System.Drawing.Point(832, 2);
this.sendButton.Name = "sendButton";
this.sendButton.Size = new System.Drawing.Size(75, 23);
this.sendButton.Size = new System.Drawing.Size(104, 23);
this.sendButton.TabIndex = 15;
this.sendButton.Text = "Again";
this.sendButton.UseVisualStyleBackColor = true;
@ -125,9 +125,9 @@
//
// showButton
//
this.showButton.Location = new System.Drawing.Point(913, 2);
this.showButton.Location = new System.Drawing.Point(939, 2);
this.showButton.Name = "showButton";
this.showButton.Size = new System.Drawing.Size(75, 23);
this.showButton.Size = new System.Drawing.Size(104, 23);
this.showButton.TabIndex = 17;
this.showButton.Text = "Show";
this.showButton.UseVisualStyleBackColor = true;
@ -148,7 +148,7 @@
this.Controls.Add(this.endTimeLabel);
this.Controls.Add(this.startTimeLabel);
this.Name = "PreviousResultCtrl";
this.Size = new System.Drawing.Size(1016, 26);
this.Size = new System.Drawing.Size(1048, 26);
this.ResumeLayout(false);
this.PerformLayout();

View File

@ -52,14 +52,15 @@ namespace TBF.Forms
#if MUNICH
sentCheckBox.Text = Strings.Printed;
sentCheckBox.Checked = Sent;
sendButton.Enabled = true;
sendButton.Text = Strings.Again;
sendButton.Enabled = true; /// 'Print again' function always available
sendButton.Text = Strings.Print_again;
#else
sentCheckBox.Text = Strings.Sent;
sentCheckBox.Checked = Sent;
sendButton.Enabled = !Sent;
sendButton.Text = Strings.Again;
#endif
showButton.Text = Strings.Show;
}
public void UpdateSentState(bool sent)

View File

@ -38,13 +38,13 @@
this.flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 0);
this.flowLayoutPanel1.Name = "flowLayoutPanel1";
this.flowLayoutPanel1.Size = new System.Drawing.Size(1023, 897);
this.flowLayoutPanel1.Size = new System.Drawing.Size(1073, 897);
this.flowLayoutPanel1.TabIndex = 0;
//
// closeButton
//
this.closeButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.closeButton.Location = new System.Drawing.Point(1029, 12);
this.closeButton.Location = new System.Drawing.Point(1079, 12);
this.closeButton.Name = "closeButton";
this.closeButton.Size = new System.Drawing.Size(103, 37);
this.closeButton.TabIndex = 1;
@ -57,7 +57,7 @@
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.closeButton;
this.ClientSize = new System.Drawing.Size(1144, 892);
this.ClientSize = new System.Drawing.Size(1194, 892);
this.Controls.Add(this.closeButton);
this.Controls.Add(this.flowLayoutPanel1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;

View File

@ -2526,6 +2526,15 @@ namespace TBF.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Print again.
/// </summary>
internal static string Print_again {
get {
return ResourceManager.GetString("Print_again", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Print only good results.
/// </summary>
@ -3381,6 +3390,15 @@ namespace TBF.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Show.
/// </summary>
internal static string Show {
get {
return ResourceManager.GetString("Show", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Show cycle end form.
/// </summary>

View File

@ -1347,4 +1347,10 @@
<data name="Volume" xml:space="preserve">
<value>Volumen</value>
</data>
<data name="Print_again" xml:space="preserve">
<value>Druck wiederholen</value>
</data>
<data name="Show" xml:space="preserve">
<value>Anzeigen</value>
</data>
</root>

View File

@ -1585,4 +1585,10 @@
<data name="P_delta" xml:space="preserve">
<value>P delta</value>
</data>
<data name="Print_again" xml:space="preserve">
<value>Print again</value>
</data>
<data name="Show" xml:space="preserve">
<value>Show</value>
</data>
</root>