示例#1
0
        private void button_BaixarXmls_Click(object sender, EventArgs e)
        {
            if (textBox_LinkReq.Text == String.Empty || textBox_LinkReq.Text == @"Exemplo : http://ddtank.com/request/")
            {
                MessageBox.Show("String Inválida",
                                "Erro",
                                MessageBoxButtons.OK,
                                MessageBoxIcon.Error);
                return;
            }

            RequestDownloader.run(textBox_LinkReq.Text);
        }
        private void button_BaixarXmls_Click(object sender, EventArgs e)
        {
            if (textBox_LinkReq.Text == String.Empty)
            {
                MessageBox.Show("Por favor preencha o campo",
                                "Erro",
                                MessageBoxButtons.OK,
                                MessageBoxIcon.Error);
                return;
            }

            RequestDownloader.run(textBox_LinkReq.Text);
        }