public SearchProcessor() { _b = Bridge.GetBridge(); _pendingSearchReq = new Dictionary <uint, string>(); _searches = new Dictionary <uint, GuiSearch>(); }
public ChatProcessor() { _b = Bridge.GetBridge(); _chatLobbies = new Dictionary <string, GuiChatLobby>(); _isRegistered = false; _reDrawChat = false; }
public PeerProcessor() { _b = Bridge.GetBridge(); _owner = new ResponseSystemAccount(); _peerList = new List <Person>(); _selectedPeer = new Person(); //_pendingPeerRequests = new Dictionary<uint, RequestPeers.SetOption>(); }
public MainForm() { InitializeComponent(); cb_con.CheckState = CheckState.Unchecked; _b = Bridge.GetBridge(this); // first initialisation of Bridge -> need gui _b.RPC.EventOccurred += EventFromThread; _b.RPC.ReceivedMsg += ProcessMsgFromThread; _loadSaveHandler = new LoadSaveHandler(); _log = new Log(); _log.NewSession(); _tickCounter = 0; AddSpeedOptions(); // add options _before_ loading settings! LoadSettings(); }
public FileProcessor() { _b = Bridge.GetBridge(); _fileTransfers = new Dictionary <string, GuiFileTransfer>(); _fileTransfersNEW = new Dictionary <string, FileTransfer>(); _pendingRequests = new Dictionary <uint, Direction>(); //_b.GUI.dgv_filesDownloads.Columns.Add("name", "file name"); //_b.GUI.dgv_filesDownloads.Columns.Add("speed", "speed [KiB/s]"); //_b.GUI.dgv_filesDownloads.Columns.Add("done", "% done"); //_b.GUI.dgv_filesDownloads.Columns.Add("size", "file size"); _b.GUI.dgv_filesDownloads.SelectionMode = DataGridViewSelectionMode.FullRowSelect; _b.GUI.dgv_filesDownloads.MultiSelect = false; //_b.GUI.dgv_filesUploads.Columns.Add("name", "file name"); //_b.GUI.dgv_filesUploads.Columns.Add("speed", "speed [KiB/s]"); //_b.GUI.dgv_filesUploads.Columns.Add("size", "file size"); _b.GUI.dgv_filesUploads.SelectionMode = DataGridViewSelectionMode.FullRowSelect; _b.GUI.dgv_filesUploads.MultiSelect = false; }
public StreamProcessor() { _b = Bridge.GetBridge(); }
public Processor() { _b = Bridge.GetBridge(); }
public AutoResponse() { _items = new Dictionary <string, AutoResponseItem>(); _b = Bridge.GetBridge(); }