Fix some duplication when things added.
This commit is contained in:
parent
d0fcba7854
commit
b623ebd9ec
@ -1709,7 +1709,7 @@ namespace EduNetworkBuilder
|
||||
NCType = NetworkComponentType.server;
|
||||
break;
|
||||
case "btnPC":
|
||||
NC = myNetwork.AddItem(NetworkComponentType.pc, CenteredLocation);
|
||||
//NC = myNetwork.AddItem(NetworkComponentType.pc, CenteredLocation);
|
||||
NCType = NetworkComponentType.pc;
|
||||
break;
|
||||
case "btnRouter":
|
||||
@ -1725,7 +1725,7 @@ namespace EduNetworkBuilder
|
||||
NCType = NetworkComponentType.firewall;
|
||||
break;
|
||||
case "btnPrinter":
|
||||
NC = myNetwork.AddItem(NetworkComponentType.printer, CenteredLocation);
|
||||
//NC = myNetwork.AddItem(NetworkComponentType.printer, CenteredLocation);
|
||||
NCType = NetworkComponentType.printer;
|
||||
break;
|
||||
case "btnCopier":
|
||||
@ -1733,7 +1733,7 @@ namespace EduNetworkBuilder
|
||||
NCType = NetworkComponentType.copier;
|
||||
break;
|
||||
case "btnMicrowave":
|
||||
NC = myNetwork.AddItem(NetworkComponentType.microwave, CenteredLocation);
|
||||
//NC = myNetwork.AddItem(NetworkComponentType.microwave, CenteredLocation);
|
||||
NCType = NetworkComponentType.microwave;
|
||||
break;
|
||||
case "btnFluorescent":
|
||||
|
Loading…
Reference in New Issue
Block a user