From 04c54c24d7fdb8e50d1ed72f7493b54d55bc4f06 Mon Sep 17 00:00:00 2001 From: Tim Young Date: Tue, 22 May 2018 16:36:23 -0500 Subject: [PATCH] Change the text of the listbox screen depending on what we are looking at. --- EduNetworkBuilder/ListBoxWindow.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/EduNetworkBuilder/ListBoxWindow.cs b/EduNetworkBuilder/ListBoxWindow.cs index 50fccdc..b6bd18e 100644 --- a/EduNetworkBuilder/ListBoxWindow.cs +++ b/EduNetworkBuilder/ListBoxWindow.cs @@ -77,7 +77,8 @@ namespace EduNetworkBuilder btnOK.Text = NB.Translate("_Load"); btnAdd.Text = NB.Translate("_Cancel"); btnAdd.Visible = true; - cbLoadPuzzlesAtStart.Checked = oursettings.AutoStartPuzzles; + cbLoadPuzzlesAtStart.Checked = oursettings.AutoStartPuzzles; + Text = NB.Translate("NB_puzzlesToolStripMenuItem"); //"Puzzles UpdateForm(); } @@ -97,6 +98,7 @@ namespace EduNetworkBuilder lblInstructions.Text = NB.Translate("LBW_LBWDblClckRout"); lbWindowData.Font = new System.Drawing.Font("Courier New", 8); btnAdd.Visible = true; + Text = NB.Translate("DC_btnRoutes"); //Routes } if (mode == LBContents.dhcp) { @@ -105,6 +107,7 @@ namespace EduNetworkBuilder lblInstructions.Text = NB.Translate("LBW_LBWDblClckIf"); lbWindowData.Font = new System.Drawing.Font("Courier New", 8); btnAdd.Visible = false; + Text = NB.Translate("H_DHCP_Title"); //DHCP } UpdateForm(); }