public AccountManager_TEST(string username, string password, string region) { InitializeComponent(); gifImage = new GifImage(Properties.Resources.table); gifImage.ReverseAtEnd = false; pictureBox1.Image = gifImage.GetFrame(0); timer1.Enabled = true; _connection = new LoLConnection(); _connection.OnLogin += new LoLConnection.OnLoginHandler(connection_OnLogin); _connection.OnError += new LoLConnection.OnErrorHandler(connection_OnError); BaseRegion testRegion = BaseRegion.GetRegion(region); _connection.Connect(username, password, testRegion.PVPRegion, Config.clientSeason + "." + Config.clientSubVersion); }