Пример #1
0
        private void _chat_FileAdded(BitChat sender, SharedFile sharedFile)
        {
            SharedFileItem item = new SharedFileItem(sharedFile, _chat);

            item.FileRemoved += OnFileRemoved;

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

            lstFiles.AddItem(item);
        }
Пример #3
0
        private void OnFileRemoved(object sender, EventArgs e)
        {
            SharedFileItem item = sender as SharedFileItem;

            lstFiles.RemoveItem(item);
        }