Example #1
0
        private void _chat_FileAdded(BitChat sender, SharedFile sharedFile)
        {
            SharedFileItem item = new SharedFileItem(sharedFile, _chat);

            item.FileRemoved += OnFileRemoved;

            lstFiles.AddItem(item);
        }
Example #2
0
        private void _chat_FileAdded(BitChat sender, SharedFile sharedFile)
        {
            SharedFileItem item = new SharedFileItem(sharedFile, _chat);
            item.FileRemoved += OnFileRemoved;

            lstFiles.AddItem(item);
        }
Example #3
0
        private void OnFileRemoved(object sender, EventArgs e)
        {
            SharedFileItem item = sender as SharedFileItem;

            lstFiles.RemoveItem(item);
        }