public SearchForm(DhtNetwork network) { InitializeComponent(); if(network.Core.Sim != null) Sim = network.Core.Sim.Internet; Network = network; Text = "Search (" + Network.GetLabel() + ")"; OnUpdateList = new UpdateListHandler(UpdateList); }
public GraphForm(DhtNetwork network) { // // Required for Windows Form Designer support // InitializeComponent(); Network = network; Core = Network.Core; Routing = Network.Routing; Network.UpdateBandwidthGraph += AsyncUpdateGraph; Text = "Graph (" + Network.GetLabel() + ")"; Redraw = true; }
public CrawlerForm(DhtNetwork network) { // // Required for Windows Form Designer support // InitializeComponent(); Core = network.Core; Network = network; Routing = Network.Routing; Network.CrawlerSearchAck += Receive_SearchAck; Network.CrawlerAck += Receive_CrawlAck; Text = "Crawler (" + Network.GetLabel() + ")"; NodeList.ListViewItemSorter = lvwColumnSorter; }
public PacketsForm(DhtNetwork network) { // // Required for Windows Form Designer support // InitializeComponent(); Network = network; Protocol = new G2Protocol(); Text = "Packets (" + Network.GetLabel() + ")"; RefreshView(); Network.UpdatePacketLog += AsyncUpdateLog; }