private void StartAutoReplier(string email, string password) { // Open facebook and wait. This call is blocking. auto = new CAutoReplier(); auto.OpenFacebook(); Console.Clear(); string login = auto.Login(email, password); if (login != null) { WriteError(login); return; } WriteSuccess("Facebook took our login!"); string access = auto.GoToMessages(); if (access != null) { WriteError(access); return; } }
public Menu() { InitializeComponent(); autoreplier = new CAutoReplier(); this.settings = new CSettings(); SetStatus("Waiting for login...", Color.DarkGray); }
public CChatMaster(CAutoReplier _autoreplier, IWebDriver _driver) { this.replier = _autoreplier; this.driver = _driver; this.windows = new Dictionary<string, CWindow>(); this.process = new CProcess(); thrWorker = new Thread(() => WatchChats()); thrWorker.Start(); }
private static void Main(string[] args) { Console.Write("Email: "); string email = Console.ReadLine(); Console.Write("Password: "); string password = Console.ReadLine(); Console.Clear(); LoginInfo_t info; info.sEmailAddress = email; info.sPassword = password; CAutoReplier replier = new CAutoReplier(); replier.StartAutoReplier(info); }
public CAutoRandomiser(CAutoReplier _replier) { this.replier = _replier; }