Пример #1
0
        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) ";
            }
        }
Пример #2
0
 public static void ReadNameDB(string filename)
 {
     _nameDB = new NameDB();
     _nameDB.LoadFromFile(filename);
 }