Пример #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            _handler.Purchases("5c33584337e585001c459491");

            var gc = _handler.GetGemCount();

            gemLbl.Text  = "Кристаллов: " + gc.gem;
            coinLbl.Text = "Монет: " + gc.coin;
        }
Пример #2
0
        private void button3_Click(object sender, EventArgs e)
        {
            openFileDialog.ShowDialog(this);
            _handler?.Cards(openFileDialog.FileName);
            var gc = _handler?.GetGemCount();

            gemLbl.Text  = "Кристаллов: " + gc?.gem;
            coinLbl.Text = "Монет: " + gc?.coin;
        }
Пример #3
0
        private void init()
        {
            _handler = new LootBoyHandler(token.Text);

            var gc = _handler.GetGemCount();

            gemLbl.Text  = "Кристаллов: " + gc.gem;
            coinLbl.Text = "Монет: " + gc.coin;
        }