public void SetUp() { email = "*****@*****.**"; password = "******"; SystemInterface.register(email, password); SystemInterface.login(email, password); }
public void login() { InfoObject info = SystemInterface.login(LDC.UserName1, LDC.Password); if (info.getIsSucceeded()) { MainWindow main = new MainWindow(LDC.UserName1, LDC.Password); main.Show(); this.Close(); } else { MessageBox.Show(info.getMessage()); } }