private void transferClient_Queued(object sender, TransferQueue queue)
    {
        if (InvokeRequired)
        {
            Invoke(new TransferEventHandler(transferClient_Queued), sender, queue);

            return;
        }
        ListViewItem i = new ListViewItem();

        i.Text = queue.ID.ToString();
        i.SubItems.Add(queue.FileName);
        i.SubItems.Add(queue.Type == QueueType.Download ? "Download" : "Upload");
        i.SubItems.Add("0%");
        i.Tag  = queue;
        i.Name = queue.ID.ToString();
        lstTransfers.Items.Add(i);
        i.EnsureVisible();

        if (queue.Type == QueueType.Download)
        {
            transferClient.startTransfer(queue);
        }
    }