Merge branch 'master' of https://tyounglightsys.visualstudio.com/DefaultCollection/_git/EduNetworkBuilder
This commit is contained in:
commit
c0dbef7c0d
@ -153,9 +153,9 @@ namespace EduNetworkBuilder
|
||||
public bool Edit(NetworkDevice ToEdit, IPAddress DHCPif)
|
||||
{
|
||||
DHCPInterface = DHCPif;
|
||||
lblIP.Text = "Interface";
|
||||
lblNetmask.Text = "Start";
|
||||
lblGateway.Text = "End";
|
||||
lblIP.Text = NB.Translate("IPAE_EditIf");
|
||||
lblNetmask.Text = "IPAE_EditStart";
|
||||
lblGateway.Text = "IPAE_EditEnd";
|
||||
tbIPAddress.Enabled = false;
|
||||
tbGateway.Enabled = true;
|
||||
tbNetmask.Enabled = true;
|
||||
@ -195,12 +195,12 @@ namespace EduNetworkBuilder
|
||||
if (!DHCPInterface.IsLocal(new IPAddress(tbGateway.Text)))
|
||||
{
|
||||
e.Cancel = true;
|
||||
MessageBox.Show("The end IP in the range must be within the scope of the interface.");
|
||||
MessageBox.Show(NB.Translate("IPAE_tbGateValEndIPRange"));
|
||||
}
|
||||
if (taddress < startaddress)
|
||||
{
|
||||
e.Cancel = true;
|
||||
MessageBox.Show("The end IP must be equal to or larger than the start IP.");
|
||||
MessageBox.Show("IPAE_tbGateValIPEqualLarger");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -215,7 +215,7 @@ namespace EduNetworkBuilder
|
||||
if (!DHCPInterface.IsLocal(new IPAddress(tbNetmask.Text)))
|
||||
{
|
||||
e.Cancel = true;
|
||||
MessageBox.Show("The start IP in the range must be within the scope of the interface.");
|
||||
MessageBox.Show("IPAE_tbNtmskValEndIPRange");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -36,7 +36,7 @@ namespace EduNetworkBuilder
|
||||
CheckBox newCB;
|
||||
btnAdd.Visible = false;
|
||||
int count = 0;
|
||||
lblInstructions.Text = "Filter the puzzles by checking one the boxes.";
|
||||
lblInstructions.Text = NB.Translate("LBW_LBWFilter");
|
||||
panelCheckboxes.SuspendLayout();
|
||||
string SelectedTag = GetSelectedTag();
|
||||
if (SelectedTag == "ALL")
|
||||
|
@ -869,4 +869,32 @@
|
||||
<value>Packet going into tunnel.</value>
|
||||
<comment>Network Device TunnelPacketFromHere Message = Packet going into tunnel.</comment>
|
||||
</data>
|
||||
<data name="IPAE_EditEnd" xml:space="preserve">
|
||||
<value>End</value>
|
||||
<comment>IPAE_EditIf = End</comment>
|
||||
</data>
|
||||
<data name="IPAE_EditIf" xml:space="preserve">
|
||||
<value>Interface</value>
|
||||
<comment>IPAE_EditIf = Interface</comment>
|
||||
</data>
|
||||
<data name="IPAE_EditStart" xml:space="preserve">
|
||||
<value>Start</value>
|
||||
<comment>IPAE_EditStart = Start</comment>
|
||||
</data>
|
||||
<data name="IPAE_tbGateValEndIPRange" xml:space="preserve">
|
||||
<value>The end IP in the range must be within the scope of the interface.</value>
|
||||
<comment>IPAE_tbGateValEndIPRange = The end IP in the range must be within the scope of the interface.</comment>
|
||||
</data>
|
||||
<data name="IPAE_tbGateValIPEqualLarger" xml:space="preserve">
|
||||
<value>The end IP must be equal to or larger than the start IP.</value>
|
||||
<comment>IPAE_tbGateValIPEqualLarger = The end IP must be equal to or larger than the start IP.</comment>
|
||||
</data>
|
||||
<data name="IPAE_tbNtmskValEndIPRange" xml:space="preserve">
|
||||
<value>The start IP in the range must be within the scope of the interface.</value>
|
||||
<comment>IPAE_tbNtmskValEndIPRange = The start IP in the range must be within the scope of the interface.</comment>
|
||||
</data>
|
||||
<data name="LBW_LBWFilter" xml:space="preserve">
|
||||
<value>Filter the puzzles by checking one the boxes.</value>
|
||||
<comment>LBW_LBWFilter = Filter the puzzles by checking one the boxes.</comment>
|
||||
</data>
|
||||
</root>
|
Loading…
Reference in New Issue
Block a user