Пример #1
0
 private void searchTxt_KeyPress(object sender, KeyPressEventArgs e)
 {
     if (e.KeyChar == (char)Keys.Enter)
     {
         String search = "http://www.skreemr.com/results.jsp?q=" + searchTxt.Text.Replace(" ", "+");
         SongsForm songForm = new SongsForm(search);
         songForm.Show();
     }
 }
Пример #2
0
 private void goBtn_Click(object sender, EventArgs e)
 {
     String search = "http://www.skreemr.com/results.jsp?q=" + searchTxt.Text.Replace(" ", "+");
     SongsForm songForm = new SongsForm(search);
     songForm.Show();
 }