IPAE Trans Edit
This commit is contained in:
parent
3521c24263
commit
c4964860d2
@ -154,8 +154,8 @@ namespace EduNetworkBuilder
|
|||||||
{
|
{
|
||||||
DHCPInterface = DHCPif;
|
DHCPInterface = DHCPif;
|
||||||
lblIP.Text = NB.Translate("IPAE_EditIf");
|
lblIP.Text = NB.Translate("IPAE_EditIf");
|
||||||
lblNetmask.Text = "IPAE_EditStart";
|
lblNetmask.Text = NB.Translate("IPAE_EditStart");
|
||||||
lblGateway.Text = "IPAE_EditEnd";
|
lblGateway.Text = NB.Translate("IPAE_EditEnd");
|
||||||
tbIPAddress.Enabled = false;
|
tbIPAddress.Enabled = false;
|
||||||
tbGateway.Enabled = true;
|
tbGateway.Enabled = true;
|
||||||
tbNetmask.Enabled = true;
|
tbNetmask.Enabled = true;
|
||||||
@ -200,7 +200,7 @@ namespace EduNetworkBuilder
|
|||||||
if (taddress < startaddress)
|
if (taddress < startaddress)
|
||||||
{
|
{
|
||||||
e.Cancel = true;
|
e.Cancel = true;
|
||||||
MessageBox.Show("IPAE_tbGateValIPEqualLarger");
|
MessageBox.Show(NB.Translate("IPAE_tbGateValIPEqualLarger"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -215,7 +215,7 @@ namespace EduNetworkBuilder
|
|||||||
if (!DHCPInterface.IsLocal(new IPAddress(tbNetmask.Text)))
|
if (!DHCPInterface.IsLocal(new IPAddress(tbNetmask.Text)))
|
||||||
{
|
{
|
||||||
e.Cancel = true;
|
e.Cancel = true;
|
||||||
MessageBox.Show("IPAE_tbNtmskValEndIPRange");
|
MessageBox.Show(NB.Translate("IPAE_tbNtmskValEndIPRange"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user