IPAddress edit box should now appear inside the network box.
This commit is contained in:
@ -96,17 +96,17 @@ namespace EduNetworkBuilder
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool Edit(NetworkDevice FromWhat, string message="")
|
||||
public bool Edit(NetworkDevice FromWhat, Form ParentForm, string message="")
|
||||
{
|
||||
IPAddressEntry IPe = new IPAddressEntry(this, FromWhat);
|
||||
IPAddressEntry IPe = new IPAddressEntry(this, FromWhat, ParentForm);
|
||||
if (message != "")
|
||||
IPe.Text = message;
|
||||
return IPe.Edit();
|
||||
}
|
||||
|
||||
public bool Edit(NetworkDevice FromWhat, IPAddress DHCPif)
|
||||
public bool Edit(NetworkDevice FromWhat, IPAddress DHCPif, Form ParentForm)
|
||||
{
|
||||
IPAddressEntry IPe = new IPAddressEntry(this, FromWhat);
|
||||
IPAddressEntry IPe = new IPAddressEntry(this, FromWhat, ParentForm);
|
||||
return IPe.Edit(FromWhat, DHCPif);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user