Пример #1
0
        public static void AddFileReceiveRequest(this ChatTextBox textbox, IFileTransferHandler session, string downloadsFolder)
        {
            var item = new FileTransferItem(session, downloadsFolder);

            textbox.AddItem(item);
        }
Пример #2
0
        public static void AddFileSentRequest(this ChatTextBox textbox, IFileTransferHandler session)
        {
            var item = new FileTransferItem(session);

            textbox.AddItem(item);
        }