Esempio n. 1
0
        private async void btnLookup_Click(object sender, EventArgs e)
        {
            btnLookup.Enabled = false;
            var ninjaTerms = await Ninja.GetTermsAsync(txtTerm.Text);

            richTextBox.Text = GetStringFromTerms(ninjaTerms);
            webBrowser.Navigate(Ninja.Host + "/" + txtTerm.Text);
            btnLookup.Enabled = true;
        }