Пример #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            richTextBox1.Text = "等待中...";
            if (comboBox1.Text == "")
            {
                return;
            }
            String result = connector.GetStringWithUrl(baseUrl, "api_lottery.php?action=startLottery&group_name=" + comboBox1.SelectedItem.ToString());

            richTextBox1.Text = result;

            Form1_Load(sender, e);
        }