Get invisible Network to complet auto dhcp request at beginning
This commit is contained in:
@ -410,8 +410,23 @@ namespace EduNetworkBuilder
|
||||
BuilderWindow myWin = (BuilderWindow)Application.OpenForms["BuilderWindow"];
|
||||
if (myWin == null) return null;
|
||||
if (myWin.GameRandomGen == null) return null;
|
||||
return myWin.myNetwork;
|
||||
return myWin.GetNetwork();
|
||||
}
|
||||
|
||||
public static void RegisterInvisibleNetwork(Network ToRegister)
|
||||
{
|
||||
BuilderWindow myWin = (BuilderWindow)Application.OpenForms["BuilderWindow"];
|
||||
if (myWin == null) return;
|
||||
myWin.RegisterInisibleNet(ToRegister);
|
||||
}
|
||||
|
||||
public static void UnregisterInvisibleNetwork()
|
||||
{
|
||||
BuilderWindow myWin = (BuilderWindow)Application.OpenForms["BuilderWindow"];
|
||||
if (myWin == null) return;
|
||||
myWin.UnregisterInvisibleNet();
|
||||
}
|
||||
|
||||
public static void MarkToUpdate()
|
||||
{
|
||||
BuilderWindow myWin = (BuilderWindow)Application.OpenForms["BuilderWindow"];
|
||||
|
Reference in New Issue
Block a user