Esempio n. 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            var marketController = new MarketController(BaseUrl, Account, Password);

            isOn = !isOn;

            marketController.TurnMarket(isOn);

            button1.Text = isOn ? "На профилактику" : "Включит магазин";
        }