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

@ -78,6 +78,7 @@ namespace EduNetworkBuilder
btnAdd.Text = NB.Translate("_Cancel");
btnAdd.Visible = true;
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();
}