Пример #1
0
        internal void Start()
        {
            Account acc = ReaderFile.LoadAccountFromFile();

            Autorize(acc.Login, acc.Pass);
            CollectingAccounts(150);
            ProcessingAccounts(120);
            SubscribeAccounts(13);
            UnSubscribeAccounts(16);
            Close();
        }
Пример #2
0
 public DBmanager(Writer cons)
 {
     Cons             = cons;
     connectionString = ReaderFile.LoadCstringFromFile();
     db = new DataContext(connectionString);
 }