Update to toedit

This commit is contained in:
Tim Young 2015-11-19 14:15:27 -05:00
parent 4357450f17
commit 5823e4095d

View File

@ -17,15 +17,11 @@ NetTest.cs:263: toreturn = sHost + " " + TestDescription(amou
NetTest.cs:266: toreturn = sHost + " " + TestDescription(amount) + " " + dHost; NetTest.cs:266: toreturn = sHost + " " + TestDescription(amount) + " " + dHost;
NetTestEditor.cs:108: cbDest.Items.Add("?Button"); NetTestEditor.cs:108: cbDest.Items.Add("?Button");
NetTestEditor.cs:116: theNames.Remove("None"); NetTestEditor.cs:116: theNames.Remove("None");
Network.cs:54: NetMessage = new LanguageStrings("message");
Network.cs:55: NetTitle = new LanguageStrings("title");
Network.cs:87: Load(@"C:\Users\tyoung\Desktop\Test.enbx"); Network.cs:87: Load(@"C:\Users\tyoung\Desktop\Test.enbx");
Network.cs:167: if(Regex.IsMatch(Individual.Name.ToLower(),"message")) Network.cs:167: if(Regex.IsMatch(Individual.Name.ToLower(),"message"))
Network.cs:172: if (Regex.IsMatch(Individual.Name.ToLower(), "title")) Network.cs:172: if (Regex.IsMatch(Individual.Name.ToLower(), "title"))
Network.cs:207: Save(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Desktop), "Test.enbx")); Network.cs:207: Save(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Desktop), "Test.enbx"));
NetworkBuilder.cs:369: Text += ": " + myNetwork.NetTitle.GetText(); NetworkBuilder.cs:369: Text += ": " + myNetwork.NetTitle.GetText();
NetworkBuilder.cs:552: pbNetworkView.ContextMenuStrip.Items.Add(string.Format("NB_NetViewArpStr", tStr));
NetworkBuilder.cs:589: pbNetworkView.ContextMenuStrip.Items.Add(string.Format("NB_NetViewRmLnkStr", host));
NetworkBuilder.cs:754: if (selectedButton == "btnLink") NetworkBuilder.cs:754: if (selectedButton == "btnLink")
NetworkBuilder.cs:896: mydialog.Filter = "EduNet File (*.enbx)|*.enbx"; NetworkBuilder.cs:896: mydialog.Filter = "EduNet File (*.enbx)|*.enbx";
NetworkBuilder.cs:902: if(!Regex.IsMatch(mydialog.FileName,@"^.*.enbx$")) NetworkBuilder.cs:902: if(!Regex.IsMatch(mydialog.FileName,@"^.*.enbx$"))
@ -38,7 +34,6 @@ NetworkBuilder.cs:1110: LoadNetworkFromResource("TwoNets");
NetworkBuilder.cs:1117: LoadNetworkFromResource("DHCP"); NetworkBuilder.cs:1117: LoadNetworkFromResource("DHCP");
NetworkBuilder.cs:1124: LoadNetworkFromResource("ThreeNets"); NetworkBuilder.cs:1124: LoadNetworkFromResource("ThreeNets");
NetworkBuilder.cs:1130: LoadNetworkFromResource("ThreeNets"); NetworkBuilder.cs:1130: LoadNetworkFromResource("ThreeNets");
NetworkBuilder.cs:1204: rtwin = new RTFWindow("Help: " + myNetwork.NetTitle.GetText(), myNetwork.NetMessage.GetText(), myNetwork.NetTests);
NetworkBuilder.cs:1247: LoadNetworkFromResource("firewalls"); NetworkBuilder.cs:1247: LoadNetworkFromResource("firewalls");
NetworkBuilder.cs:1253: LoadNetworkFromResource("firewalls"); NetworkBuilder.cs:1253: LoadNetworkFromResource("firewalls");
NetworkCard.cs:116: myID.Save(writer, "myid"); NetworkCard.cs:116: myID.Save(writer, "myid");
@ -48,10 +43,8 @@ NetworkCard.cs:172: if (isConnected(true)) connected = "*";
NetworkCard.cs:175: return NicName() + connected + " " + MAC; NetworkCard.cs:175: return NicName() + connected + " " + MAC;
NetworkCard.cs:197: if (UsesDHCP && CanUseDHCP) DHCPString = "DHCP: "; NetworkCard.cs:197: if (UsesDHCP && CanUseDHCP) DHCPString = "DHCP: ";
NetworkCard.cs:449: nPacket.PacketDump(myID.HostName + "-" + _nic_name, DebugPausePoint.packet_out); NetworkCard.cs:449: nPacket.PacketDump(myID.HostName + "-" + _nic_name, DebugPausePoint.packet_out);
NetworkCard.cs:479: nPacket.Tracking.AddMessage(DebugLevel.natting, WhereFrom.hostname, string.Format("NC_ChangeIPStr", nf.myIP.GetIPString));
NetworkCard.cs:504: nPacket.PacketDump(myID.HostName + "-" + _nic_name, DebugPausePoint.packet_out); NetworkCard.cs:504: nPacket.PacketDump(myID.HostName + "-" + _nic_name, DebugPausePoint.packet_out);
NetworkCardEditor.cs:81: lblVPNEnd.Text = "SSID:"; NetworkCardEditor.cs:81: lblVPNEnd.Text = "SSID:";
NetworkCardEditor.cs:194: MyNicToEdit.TunnelEndpoint.Edit(nd, "NCE_VPNEnd");
NetworkDevice.cs:390: DefaultGW.Save(writer, "gateway"); NetworkDevice.cs:390: DefaultGW.Save(writer, "gateway");
NetworkDevice.cs:397: ip.Save(writer, "route"); NetworkDevice.cs:397: ip.Save(writer, "route");
NetworkDevice.cs:401: dhcp.Save(writer, "dhcprange"); NetworkDevice.cs:401: dhcp.Save(writer, "dhcprange");
@ -63,64 +56,14 @@ NetworkDevice.cs:1286: Console.WriteLine("Debug");
NetworkDevice.cs:1773: string sIP = "?.?.?.?"; NetworkDevice.cs:1773: string sIP = "?.?.?.?";
NetworkInterface.cs:50: myIP.Save(writer, "myip"); NetworkInterface.cs:50: myIP.Save(writer, "myip");
NetworkInterface.cs:59: tstring += " - " + myIP.GetMask.ToIpString(); NetworkInterface.cs:59: tstring += " - " + myIP.GetMask.ToIpString();
NetworkLink.cs:65: MessageBox.Show("The SSID and Key have been updated on the client.");
NetworkLink.cs:120: SrcNic.Save(writer, "SrcNic"); NetworkLink.cs:120: SrcNic.Save(writer, "SrcNic");
NetworkLink.cs:121: DstNic.Save(writer, "DstNic"); NetworkLink.cs:121: DstNic.Save(writer, "DstNic");
NetworkLink.cs:306: tPacket.Tracking.AddMessage(DebugLevel.info, this, "The packet was corrupted. The network wire may run too close to electricity or fluorescent lighting, or the wireless path is being interfered by a microwave, wireless phone, or other radio device.");
NetworkLink.cs:307: tPacket.Tracking.Status = "The packet got corrupted and was dropped.";
NetworkLink.cs:314: tPacket.Tracking.AddMessage(DebugLevel.info, this, "The packet tried to use a broken network wire and was corrupted.");
NetworkLink.cs:315: tPacket.Tracking.Status = "The packet got corrupted and was dropped.";
NetworkLink.cs:333: tPacket.AddMessage(DebugLevel.info, "Oops! We do not have anything at the end of the network wire. This should not happen!");
NetworkLink.cs:334: tPacket.Tracking.Status = hostname + string.Format(" Nothing at far end of the wire. This should never happen..");
OptionsWindow.cs:31: myToolTip.SetToolTip(tbItemSize, "The size of an item (switch, PC, etc). Default is 100.");
OptionsWindow.cs:32: myToolTip.SetToolTip(lblItemSize, "The size of an item (switch, PC, etc). Default is 100.");
OptionsWindow.cs:33: myToolTip.SetToolTip(tbMessage, "The message given when the network is loaded. Instructions.");
OptionsWindow.cs:34: myToolTip.SetToolTip(lblNetMessage, "The message given when the network is loaded. Instructions.");
OptionsWindow.cs:35: myToolTip.SetToolTip(tbNetworkTitle, "The title of the network window.");
OptionsWindow.cs:36: myToolTip.SetToolTip(lblNetTitle, "The title of the network window.");
OptionsWindow.cs:37: myToolTip.SetToolTip(lblNetSize, "The height and width of the network graphics area.");
OptionsWindow.cs:38: myToolTip.SetToolTip(tbNetworkX, "The width of the network window graphics area.");
OptionsWindow.cs:39: myToolTip.SetToolTip(tbNetworkY, "The Height of the network window graphics area.");
OptionsWindow.cs:40: myToolTip.SetToolTip(lbTags, "The Tags that this puzzle is saved as (only for puzzles)");
OptionsWindow.cs:41: myToolTip.SetToolTip(lblTags, "The Tags that this puzzle is saved as (only for puzzles)");
OptionsWindow.cs:42: myToolTip.SetToolTip(lbTests, "The things that need to be solved before the puzzle is completed.");
OptionsWindow.cs:43: myToolTip.SetToolTip(lblTests, "The things that need to be solved before the puzzle is completed.");
OptionsWindow.cs:44: myToolTip.SetToolTip(lblLevel, "The Level that this puzzle is stored in.");
OptionsWindow.cs:45: myToolTip.SetToolTip(tbLevel, "The Level that this puzzle is stored in.");
OptionsWindow.cs:46: myToolTip.SetToolTip(lblSortOrder, "How this is sorted within the list of puzzles.");
OptionsWindow.cs:47: myToolTip.SetToolTip(tbSortOrder, "How this is sorted within the list of puzzles.");
OptionsWindow.cs:183: lbTests.ContextMenuStrip.Items.Add("Add");
OptionsWindow.cs:185: lbTests.ContextMenuStrip.Items.Add("Edit");
OptionsWindow.cs:187: lbTests.ContextMenuStrip.Items.Add("Delete");
OptionsWindow.cs:204: lbTests.ContextMenuStrip.Items.Add("Add");
OptionsWindow.cs:206: lbTests.ContextMenuStrip.Items.Add("Edit");
OptionsWindow.cs:208: lbTests.ContextMenuStrip.Items.Add("Delete");
OptionsWindow.cs:256: lbTags.ContextMenuStrip.Items.Add("Add");
OptionsWindow.cs:260: lbTags.ContextMenuStrip.Items.Add("Edit");
OptionsWindow.cs:262: lbTags.ContextMenuStrip.Items.Add("Read");
OptionsWindow.cs:264: lbTags.ContextMenuStrip.Items.Add("Delete");
OptionsWindow.cs:286: tlist.Remove("None"); OptionsWindow.cs:286: tlist.Remove("None");
OptionsWindow.cs:302: Done.Text = "Done";
OptionsWindow.cs:334: newstring = QuickPrompt("Edit Tag", "Tag:", myNet.SuggestedReadings[lbTags.SelectedIndex].ToString());
Packet.cs:32: PacketDump(" " + status, DebugPausePoint.packet_kill); Packet.cs:32: PacketDump(" " + status, DebugPausePoint.packet_kill);
Packet.cs:109: Tracking.AddMessage(DebugLevel.debug, WhereAmI, "Packet duplicated");
Packet.cs:124: Tracking.AddMessage(DebugLevel.info, start, theType.ToString() + string.Format("Packet Created"));
Packet.cs:125: Tracking.AddMessage(DebugLevel.routing, start, string.Format(" MAC: {0} -> {1}", source, dest)); Packet.cs:125: Tracking.AddMessage(DebugLevel.routing, start, string.Format(" MAC: {0} -> {1}", source, dest));
Packet.cs:137: Tracking.AddMessage(DebugLevel.info, start, "Packet Created");
Packet.cs:138: Tracking.AddMessage(DebugLevel.routing, start, string.Format(" IP: {0} -> {1}", source, dest)); Packet.cs:138: Tracking.AddMessage(DebugLevel.routing, start, string.Format(" IP: {0} -> {1}", source, dest));
Packet.cs:156: Tracking.AddMessage(DebugLevel.info, start, "Packet Created");
Packet.cs:157: Tracking.AddMessage(DebugLevel.routing, start, string.Format(" IP:{0} -> {1}", sourceIP.GetIP.ToIpString(), dest.GetIP.ToIpString())); Packet.cs:157: Tracking.AddMessage(DebugLevel.routing, start, string.Format(" IP:{0} -> {1}", sourceIP.GetIP.ToIpString(), dest.GetIP.ToIpString()));
Packet.cs:164: Tracking.AddMessage(DebugLevel.info, start, "Packet Created"); Packet.cs:344: AddMessage(DebugLevel.debug, " " + "Starting on link");
Packet.cs:264: Tracking.AddMessage(DebugLevel.info, WhereAmI, string.Format("Unable to find a mac address for the IP address: {0}", dest.GetIP.ToIpString()));
Packet.cs:265: Tracking.Status = string.Format("{0} Failed: Unable to find a MAC address for the specified IP.", WhereAmI.hostname );
Packet.cs:280: AddMessage(DebugLevel.debug, "The packet was dropped because we lost where it was. WhereAmI == null!");
Packet.cs:281: Tracking.Status = "NO_Host Lost location of packet..";
Packet.cs:300: AddMessage(DebugLevel.debug, "The packet was dropped because we lost where it was. WhereAmI == null!");
Packet.cs:301: Tracking.Status = "NO_Host Lost location of packet..";
Packet.cs:312: AddMessage(DebugLevel.debug, "The packet was dropped because we lost where it was. WhereAmI == null!");
Packet.cs:313: Tracking.Status = "NO_Host Lost location of packet..";
Packet.cs:343: Console.WriteLine(string.Format("Starting on link. SMAC: {0} DMAC: {1}",sourceMAC,destMAC));
Packet.cs:344: AddMessage(DebugLevel.debug, " Starting on link");
Packet.cs:369: Tracking.AddMessage(DebugLevel.info, "Packet", Packet.cs:369: Tracking.AddMessage(DebugLevel.info, "Packet",
Packet.cs:370: string.Format("Packet failed to reach any IP. No such IP on network: {0}", destIP.GetIPString)); Packet.cs:370: string.Format("Packet failed to reach any IP. No such IP on network: {0}", destIP.GetIPString));
Packet.cs:371: Tracking.Status = string.Format("Packet failed to reach IP: {0}",destIP.GetIPString); Packet.cs:371: Tracking.Status = string.Format("Packet failed to reach IP: {0}",destIP.GetIPString);
@ -131,8 +74,5 @@ Packet.cs:441: Console.WriteLine("---");
Packet.cs:443: AddMessage(DebugLevel.packet, string.Format("{0}: {1} PACKET: dstIP: {2} destMAC: {3}", hostname, position, dIP, destMAC)); Packet.cs:443: AddMessage(DebugLevel.packet, string.Format("{0}: {1} PACKET: dstIP: {2} destMAC: {3}", hostname, position, dIP, destMAC));
Packet.cs:444: AddMessage(DebugLevel.packet, string.Format("{0}: {1} PACKET: srcIP: {2} srcMAC: {3}", hostname,position,sIP,sourceMAC)); Packet.cs:444: AddMessage(DebugLevel.packet, string.Format("{0}: {1} PACKET: srcIP: {2} srcMAC: {3}", hostname,position,sIP,sourceMAC));
Packet.cs:451: throw new ArgumentException("The type must be serializable.", "source"); Packet.cs:451: throw new ArgumentException("The type must be serializable.", "source");
PacketMessage.cs:47: throw new ArgumentException("The type must be serializable.", "source");
PacketMessage.cs:76: string host = "unknown";
PacketMessage.cs:91: tString = tmessage.HostName + " \t" + tmessage.WhatLevel.ToString() + "\t" + tmessage.Message; PacketMessage.cs:91: tString = tmessage.HostName + " \t" + tmessage.WhatLevel.ToString() + "\t" + tmessage.Message;
PacketMessage.cs:103: tString = time.ToString() + " ms " + Status; PacketMessage.cs:103: tString = time.ToString() + " ms " + Status;
RTFWindow.cs:153: MessageBox.Show("Not found.");