예제 #1
0
        private void JPLogin_Click(object sender, EventArgs e)
        {
            var t = new Thread(() =>
            {
                JPLogin.Enabled = false;
                client.LoginJapan();
                InitGacha(client);
                JPLogin.Enabled     = true;
                GachaSummon.Enabled = true;
            });

            t.IsBackground = true;
            t.Start();
        }
예제 #2
0
        private void JPLogin_Click(object sender, EventArgs e)
        {
            var t = new Thread(() =>
            {
                JPLogin.Enabled = false;
                JP = new BraveExvius
                {
                    TransferCode = JPCode.Text.Replace(" ", ""),
                    TransferPin  = JPPin.Text.Replace(" ", "")
                };
                JP.LoginJapan(JP.TransferCode, JP.TransferPin);
                InitGacha(JP);
                JPLogin.Enabled     = true;
                GachaSummon.Enabled = true;
            });

            t.IsBackground = true;
            t.Start();
        }