Change constants to variable, for translation and for consistency.

This commit is contained in:
Tim Young 2018-09-21 12:43:40 -05:00
parent ea710bd92f
commit b971a729cb

View File

@ -53,6 +53,10 @@ namespace EduNetworkBuilder
int EditableCount = -1; int EditableCount = -1;
bool processing = false; bool processing = false;
string FilterString = ""; string FilterString = "";
string TestString = "Test";
string NoTestString = "No Test";
string PassedString = "Passed";
string FailedString = "Failed;";
/// <summary> /// <summary>
/// Instantiate a ListBoxWindow for use in choosing a network to load /// Instantiate a ListBoxWindow for use in choosing a network to load
@ -148,10 +152,10 @@ namespace EduNetworkBuilder
newCB = AddCheckBox(count, str); newCB = AddCheckBox(count, str);
count++; count++;
} }
newCB = AddCheckBox(count++, "Test"); newCB = AddCheckBox(count++, TestString);
newCB = AddCheckBox(count++, "No Test"); newCB = AddCheckBox(count++, NoTestString);
newCB = AddCheckBox(count++, "Passed"); newCB = AddCheckBox(count++, PassedString);
newCB = AddCheckBox(count++, "Failed"); newCB = AddCheckBox(count++, FailedString);
panelCheckboxes.ResumeLayout(); panelCheckboxes.ResumeLayout();
btnOK.Text = NB.Translate("_Load"); btnOK.Text = NB.Translate("_Load");