Change the text of the listbox screen depending on what we are looking at.

This commit is contained in:
Tim Young 2018-05-22 16:36:23 -05:00
parent 68fdbaf1b9
commit 04c54c24d7

View File

@ -77,7 +77,8 @@ namespace EduNetworkBuilder
btnOK.Text = NB.Translate("_Load"); btnOK.Text = NB.Translate("_Load");
btnAdd.Text = NB.Translate("_Cancel"); btnAdd.Text = NB.Translate("_Cancel");
btnAdd.Visible = true; btnAdd.Visible = true;
cbLoadPuzzlesAtStart.Checked = oursettings.AutoStartPuzzles; cbLoadPuzzlesAtStart.Checked = oursettings.AutoStartPuzzles;
Text = NB.Translate("NB_puzzlesToolStripMenuItem"); //"Puzzles
UpdateForm(); UpdateForm();
} }
@ -97,6 +98,7 @@ namespace EduNetworkBuilder
lblInstructions.Text = NB.Translate("LBW_LBWDblClckRout"); lblInstructions.Text = NB.Translate("LBW_LBWDblClckRout");
lbWindowData.Font = new System.Drawing.Font("Courier New", 8); lbWindowData.Font = new System.Drawing.Font("Courier New", 8);
btnAdd.Visible = true; btnAdd.Visible = true;
Text = NB.Translate("DC_btnRoutes"); //Routes
} }
if (mode == LBContents.dhcp) if (mode == LBContents.dhcp)
{ {
@ -105,6 +107,7 @@ namespace EduNetworkBuilder
lblInstructions.Text = NB.Translate("LBW_LBWDblClckIf"); lblInstructions.Text = NB.Translate("LBW_LBWDblClckIf");
lbWindowData.Font = new System.Drawing.Font("Courier New", 8); lbWindowData.Font = new System.Drawing.Font("Courier New", 8);
btnAdd.Visible = false; btnAdd.Visible = false;
Text = NB.Translate("H_DHCP_Title"); //DHCP
} }
UpdateForm(); UpdateForm();
} }