public static Bridge GetBridge(MainForm gui = null) { if (_b == null) if (gui != null) { _b = new Bridge(gui); InitBridge(); } else throw new Exception("need GUI to initialize bridge"); return _b; }
public SearchProcessor() { _b = Bridge.GetBridge(); _pendingSearchReq = new Dictionary <uint, string>(); _searches = new Dictionary <uint, GuiSearch>(); }