private void StartScan() { ToggleGUI(false); stopScan = false; lblIP.StringValue = HostInfo.Address; DataSource = new PortEntryDataSource(); Delegate = new PortEntryDelegate(DataSource); tblPorts.Delegate = Delegate; tblPorts.DataSource = DataSource; tblPorts.ReloadData(); Thread monitor = new Thread(() => { MonitorThread(W.Split <int>(Settings.PortList)); }); monitor.Start(); }
public PortEntryDelegate(PortEntryDataSource datasource) { DataSource = datasource; }