Update to toedit file

This commit is contained in:
Tim Young 2015-11-18 12:25:02 -05:00
parent 25f89495c3
commit 51f011c053

View File

@ -91,8 +91,6 @@ NetTest.cs:359: //The IP address chosen is "local" to
NetTest.cs:405: //dHost is either "true" or "false"
NetTestEditor.cs:108: cbDest.Items.Add("?Button");
NetTestEditor.cs:116: theNames.Remove("None");
NetTestEditor.cs:121: cbDest.Items.Add("Read");
NetTestEditor.cs:125: cbDest.Items.Add("All");
Network.cs:20: public string PuzzleName="";
Network.cs:37: private IPAddress lastAddress = new IPAddress("0.0.0.0/24");
Network.cs:38: public string NetworkFilename = "";
@ -115,16 +113,9 @@ Network.cs:503: if (nt.ColorItemsIfNeeded(HintsToDisplay != NetTe
Network.cs:524: if (NC.GetType().ToString() == "EduNetworkBuilder.NetworkLink")
Network.cs:530: if (NC.GetType().ToString() == "EduNetworkBuilder.NetworkDevice")
Network.cs:667: if (PuzzleName != "" && PuzzleName != null)
Network.cs:677: DialogResult answer = MessageBox.Show("Solved! Would you like to open the puzzle box to go to the next puzzle? 'No' will let you continue to play with this one.","Solved",MessageBoxButtons.YesNo);
Network.cs:730: if (nt.TheTest == NetTestType.HelpRequest && sHost == "" && dHost == nt.dHost && dHost == "?Button")
Network.cs:748: if (nc.GetType().ToString() == "EduNetworkBuilder.NetworkDevice")
Network.cs:803: Console.WriteLine("Debugging");
Network.cs:809: Console.WriteLine("Debugging");
Network.cs:812: myPackets[loop].AddMessage(DebugLevel.info, "Packet Tick Counter reached. Did the packet go into an infinite loop?");
Network.cs:836: Console.WriteLine("Total seconds = " + Duration.TotalSeconds.ToString() + " Stopping.");
Network.cs:839: pkt.Tracking.AddMessage(DebugLevel.packet, "Network", "The packet timed out.");
Network.cs:840: pkt.Tracking.Status = "The packet timed out and was dropped.";
Network.cs:895: Console.WriteLine("----All Done----");
Network.cs:836: Console.WriteLine(string.Format("Total seconds = {0} Stopping.", Duration.TotalSeconds.ToString()));
Network.cs:927: if (nc.GetType().ToString() == "EduNetworkBuilder.NetworkLink")
Network.cs:935: if (nc.GetType().ToString() == "EduNetworkBuilder.NetworkDevice")
Network.cs:1089: //Console.WriteLine("position=" + HowFar.ToString());
@ -132,61 +123,23 @@ Network.cs:1099: //Console.WriteLine("position=" + HowFar
NetworkBuilder.cs:24: public Network myNetwork = new Network("");
NetworkBuilder.cs:26: private string selectedButton = "";
NetworkBuilder.cs:37: public string ChosenLanguage = "en"; //The language to try to load
NetworkBuilder.cs:58: myTooltip.SetToolTip(rbHelp1, "Show no help for the puzzle");
NetworkBuilder.cs:59: myTooltip.SetToolTip(rbHelp2, "Show the color of the items making the puzzle.");
NetworkBuilder.cs:60: myTooltip.SetToolTip(rbHelp3, "Color-code & give minor mouse-over help for the puzzle.");
NetworkBuilder.cs:61: myTooltip.SetToolTip(rbHelp4, "Color-code & give decent mouse-over help for the puzzle.");
NetworkBuilder.cs:62: myTooltip.SetToolTip(btnHelp, "Show the message describing the puzzle.");
NetworkBuilder.cs:64: lblStatus.Text = "";
NetworkBuilder.cs:128: LanguageResources = new ResourceManager("EduNetworkBuilder.Resources.languages.edustrings", MyAssembly);
NetworkBuilder.cs:155: if (answer == null) return "";
NetworkBuilder.cs:236: myNetwork.NoteActionDone(NetTestType.ReadContextHelp, me.Name, "Read");
NetworkBuilder.cs:275: BuildButton("btnSwitch", Properties.Resources.Switch, "Add a switch to the network.");
NetworkBuilder.cs:276: BuildButton("btnHub", Properties.Resources.Hub, "Add a hub to the network.");
NetworkBuilder.cs:277: BuildButton("btnServer", Properties.Resources.Server, "Add a server to the network.");
NetworkBuilder.cs:278: BuildButton("btnLaptop", Properties.Resources.Laptop, "Add a laptop to the network.");
NetworkBuilder.cs:279: BuildButton("btnPC", Properties.Resources.PC, "Add a PC to the network.");
NetworkBuilder.cs:280: BuildButton("btnRouter", Properties.Resources.Router, "Add a Router to the network.");
NetworkBuilder.cs:281: BuildButton("btnIPPhone", Properties.Resources.ip_phone, "Add an IP-Phone to the network.");
NetworkBuilder.cs:282: BuildButton("btnFirewall", Properties.Resources.firewall, "Add a firewall to the network.");
NetworkBuilder.cs:283: BuildButton("btnPrinter", Properties.Resources.Printer, "Add a printer to the network.");
NetworkBuilder.cs:284: BuildButton("btnCopier", Properties.Resources.Copier, "Add a copier to the network.");
NetworkBuilder.cs:285: BuildButton("btnMicrowave", Properties.Resources.microwave, "Add a microwave to the network.");
NetworkBuilder.cs:286: BuildButton("btnFluorescent", Properties.Resources.fluorescent, "Add a light to the network.");
NetworkBuilder.cs:287: BuildButton("btnWAP", Properties.Resources.wap, "Add a Wireless Access Point to the network.");
NetworkBuilder.cs:288: BuildButton("btnWRouter", Properties.Resources.WRouter, "Add a Wireless Router to the network.");
NetworkBuilder.cs:289: BuildButton("btnWBridge", Properties.Resources.WBridge, "Add a Wireless Bridge to the network.");
NetworkBuilder.cs:290: BuildButton("btnWRepeater", Properties.Resources.WRepeater, "Add a Wireless Repeater to the network.");
NetworkBuilder.cs:291: BuildButton("btnCellphone", Properties.Resources.cellphone, "Add a Cellhone to the network.");
NetworkBuilder.cs:292: BuildButton("btnTablet", Properties.Resources.tablet, "Add a Tablet to the network.");
NetworkBuilder.cs:293: BuildButton("btnLink", Properties.Resources.link, "Use a network cable to connect network components.");
NetworkBuilder.cs:294: BuildButton("btnSelect", Properties.Resources.select, "Select items from the network.");
NetworkBuilder.cs:338: if (myNetwork.NetworkFilename != "")
NetworkBuilder.cs:367: Text = "EduNetworkBuilder";
NetworkBuilder.cs:368: if (myNetwork.NetTitle.GetText() != "")
NetworkBuilder.cs:369: Text += ": " + myNetwork.NetTitle.GetText();
NetworkBuilder.cs:370: if (myNetwork.NetMessage.GetText() != "")
NetworkBuilder.cs:432: System.Resources.ResourceManager("EduNetworkBuilder.Properties.Resources",
NetworkBuilder.cs:440: MessageBox.Show("Skipping Invalid Puzzle: '" + str + "'");
NetworkBuilder.cs:440: MessageBox.Show(String.Format("Skipping Invalid Puzzle: '{0}'",str));
NetworkBuilder.cs:449: //Console.WriteLine("Puzzle: " + str + " " + newPuzzle.PuzzleTitle);
NetworkBuilder.cs:472: if(Regex.IsMatch(str,"^Level"))
NetworkBuilder.cs:519: lblStatus.Text = "";
NetworkBuilder.cs:520: selectedButton = "";
NetworkBuilder.cs:547: pbNetworkView.ContextMenuStrip.Items.Add("Ping " + tStr);
NetworkBuilder.cs:552: pbNetworkView.ContextMenuStrip.Items.Add("Arp " + tStr);
NetworkBuilder.cs:558: pbNetworkView.ContextMenuStrip.Items.Add("Ping [host]");
NetworkBuilder.cs:560: pbNetworkView.ContextMenuStrip.Items.Add("Arp Request [host]");
NetworkBuilder.cs:562: pbNetworkView.ContextMenuStrip.Items.Add("Clear Arp Table");
NetworkBuilder.cs:569: pbNetworkView.ContextMenuStrip.Items.Add("Delete");
NetworkBuilder.cs:575: pbNetworkView.ContextMenuStrip.Items.Add("Edit");
NetworkBuilder.cs:584: pbNetworkView.ContextMenuStrip.Items.Add("DHCP Request");
NetworkBuilder.cs:589: pbNetworkView.ContextMenuStrip.Items.Add("Remove Link To " + host);
NetworkBuilder.cs:547: pbNetworkView.ContextMenuStrip.Items.Add(string.Format("Ping {0}",tStr));
NetworkBuilder.cs:552: pbNetworkView.ContextMenuStrip.Items.Add(string.Format("Arp {0}", tStr));
NetworkBuilder.cs:589: pbNetworkView.ContextMenuStrip.Items.Add(string.Format("Remove Link To {0}", host));
NetworkBuilder.cs:608: released = Regex.Replace(released, ".* ", "");
NetworkBuilder.cs:672: todo = destination.Edit(ItemClickedOn, "Ping IP");
NetworkBuilder.cs:685: string dest = Regex.Replace(itemname, "Ping ", "");
NetworkBuilder.cs:699: string dest = Regex.Replace(itemname, "Arp ", "");
NetworkBuilder.cs:713: IPAddress destination = new IPAddress(NB.ZeroIPString, "255.255.255.255", IPAddressType.ip_only);
NetworkBuilder.cs:714: todo = destination.Edit(ItemClickedOn, "Arp Request");
NetworkBuilder.cs:731: lblStatus.Text = "";
NetworkBuilder.cs:754: if (selectedButton == "btnLink")
NetworkBuilder.cs:861: string newtooltip = "";
@ -194,11 +147,9 @@ NetworkBuilder.cs:875: myNetwork = new Network("");
NetworkBuilder.cs:896: mydialog.Filter = "EduNet File (*.enbx)|*.enbx";
NetworkBuilder.cs:899: if (LastPath != null && LastPath != "") mydialog.FileName = LastPath;
NetworkBuilder.cs:902: if(!Regex.IsMatch(mydialog.FileName,@"^.*.enbx$"))
NetworkBuilder.cs:904: MessageBox.Show("EduNetworkBuilder can only open .enbx files. If this is a valid edunetwork file, please rename it.");
NetworkBuilder.cs:919: if (oldfile != null && oldfile != "" && File.Exists(oldfile))
NetworkBuilder.cs:940: mydialog.Filter = "EduNet File (*.enbx)|*.enbx";
NetworkBuilder.cs:943: if (myNetwork.NetworkFilename != "")
NetworkBuilder.cs:1050: todo = destination.Edit(null, "Ping IP");
NetworkBuilder.cs:1068: System.Resources.ResourceManager("EduNetworkBuilder.Properties.Resources",
NetworkBuilder.cs:1085: LoadNetworkFromResource("OneNet");
NetworkBuilder.cs:1091: LoadNetworkFromResource("TwoNets");
@ -215,7 +166,6 @@ NetworkBuilder.cs:1191: bool didsomething = myNetwork.NoteActionDone(
NetworkBuilder.cs:1204: rtwin = new RTFWindow("Help: " + myNetwork.NetTitle.GetText(), myNetwork.NetMessage.GetText(), myNetwork.NetTests);
NetworkBuilder.cs:1247: LoadNetworkFromResource("firewalls");
NetworkBuilder.cs:1253: LoadNetworkFromResource("firewalls");
NetworkBuilder.cs:1269: DialogResult answer = MessageBox.Show("Changing the language can only be done when the program starts: Close the program and prompt for a new language when you start it again?","Are you Sure?",MessageBoxButtons.YesNoCancel);
NetworkCard.cs:26: private string _nic_name="";
NetworkCard.cs:42: nInterface = new NetworkInterface(NicName(), "127.0.0.1", "255.0.0.0", myID);
NetworkCard.cs:116: myID.Save(writer, "myid");