Exemplo n.º 1
0
        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();
        }
Exemplo n.º 2
0
 public PortEntryDelegate(PortEntryDataSource datasource)
 {
     DataSource = datasource;
 }