Advertisement
Guest User

Failure

a guest
Sep 13th, 2014
346
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.65 KB | None | 0 0
  1.  
  2.         private void button1_Click(object sender, EventArgs e)
  3.  
  4.  
  5.         {
  6.             String Huzuni = "url here";
  7.             String Nodus = "url here";
  8.             String WeepCraft = "url here";
  9.             if (radioButton1.Checked == true)
  10.                 using (WebClient webClient = new WebClient())
  11. {
  12.     webClient.DownloadFile(String.Copy(Nodus), @"%appdata%\.minecraft\versions");
  13. }
  14.             if (radioButton2.Checked == true)
  15.                 using (WebClient webClient = new WebClient())
  16.                 {
  17.                     webClient.DownloadFile(String.Copy(WeepCraft), @"%appdata%\.minecraft\versions");
  18.                 }
  19.             if (radioButton3.Checked == true)
  20.                   using (WebClient webClient = new WebClient())
  21.                 {
  22.                     webClient.DownloadFile(String.Copy(Huzuni), @"%appdata%\.minecraft\versions");
  23.                 }
  24.                
  25.             if (radioButton7.Checked == true)
  26.                 using (WebClient webClient = new WebClient())
  27.                 {
  28.                     webClient.DownloadFile(textBox1.Text, @"%appdata%\.minecraft\versions");
  29.                 }
  30.             if (radioButton8.Checked == true)
  31.                 MessageBox.Show("Why did you download this EL LEGITO?", "Much Legit Very Wow");
  32.             DeflateStream ds = new DeflateStream(File.OpenRead(@"%appdata%\.minecraft\versions\*.zip"), CompressionMode.Decompress);
  33.             MessageBox.Show("Your client has been successfully installed!", "Hooray!");
  34.         }
  35.  
  36.         private void button2_Click(object sender, EventArgs e)
  37.         {
  38.             Process.Start("http://www.wirez.cf/");
  39.         }
  40.     }
  41. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement