public AutoTransfer(BTCTLink inLink, int interval) { _inLink = inLink; _interval = interval; _timer = new System.Timers.Timer(); _timer.Interval = interval; _active = false; _nameDB = new NameDB(); if (_inLink.isBTCT) { _sitePrefix = "(B) "; } else { _sitePrefix = "(L) "; } }
public static void ReadNameDB(string filename) { _nameDB = new NameDB(); _nameDB.LoadFromFile(filename); }