IPAddress edit box should now appear inside the network box.
This commit is contained in:
@@ -385,7 +385,7 @@ namespace EduNetworkBuilder
|
||||
private void AddRoute()
|
||||
{
|
||||
IPAddress newip = new IPAddress(NB.ZeroIPString, NB.ZeroIPString, NB.ZeroIPString);
|
||||
newip.Edit(myNetDevice,NB.Translate("LBW_AddRouteCreate"));
|
||||
newip.Edit(myNetDevice, this, NB.Translate("LBW_AddRouteCreate"));
|
||||
myNetDevice.AddRoute(newip);
|
||||
UpdateForm();
|
||||
}
|
||||
@@ -398,12 +398,12 @@ namespace EduNetworkBuilder
|
||||
if (lbWindowData.SelectedIndex >= EditableCount) return;
|
||||
if (lbWindowData.SelectedIndex < 1) return;
|
||||
//we always subtract 1 since we have added one line of comment to the list
|
||||
myNetDevice.EditRoute(lbWindowData.SelectedIndex - 1);
|
||||
myNetDevice.EditRoute(lbWindowData.SelectedIndex - 1, this);
|
||||
}
|
||||
if(MyMode == LBContents.dhcp)
|
||||
{
|
||||
//We always add one since we are skipping the loopback device
|
||||
myNetDevice.EditDHCP(lbWindowData.SelectedIndex + 1);
|
||||
myNetDevice.EditDHCP(lbWindowData.SelectedIndex + 1, this);
|
||||
}
|
||||
if (MyMode == LBContents.puzzles)
|
||||
{
|
||||
|
Reference in New Issue
Block a user