public AvailableFilesControl()
        {
            InitializeComponent();

            _helper = new ListViewHelper(_availableFilesView, ListViewHelper.ComparisonKey.Hash);

            _clientDetails = new Dictionary<string, ConnectedClient>();
        }
Ejemplo n.º 2
0
        public SharedFilesControl(ClientInstance client)
        {
            InitializeComponent();
            Client = client;

            _helper = new ListViewHelper(_sharedFilesView, ListViewHelper.ComparisonKey.Hash);
            _watchers = new List<FileSystemWatcher>();
        }
 public AvailableFilesClientControl(ClientInstance client)
 {
     InitializeComponent();
     _helper = new ListViewHelper(_availableFilesView, ListViewHelper.ComparisonKey.Hash);
     Client = client;
     Client.ConnectionMade += new EventHandler(Client_ConnectionMade);
     Client.ConnectionTerminated += new EventHandler(Client_ConnectionTerminated);
     Client.LostConnection += new EventHandler<ObviousCode.Interlace.BitTunnelLibrary.Events.ExceptionEventArgs>(Client_LostConnection);
 }