Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void button1_Click(object sender, EventArgs e)
- {
- String Huzuni = "url here";
- String Nodus = "url here";
- String WeepCraft = "url here";
- if (radioButton1.Checked == true)
- using (WebClient webClient = new WebClient())
- {
- webClient.DownloadFile(String.Copy(Nodus), @"%appdata%\.minecraft\versions");
- }
- if (radioButton2.Checked == true)
- using (WebClient webClient = new WebClient())
- {
- webClient.DownloadFile(String.Copy(WeepCraft), @"%appdata%\.minecraft\versions");
- }
- if (radioButton3.Checked == true)
- using (WebClient webClient = new WebClient())
- {
- webClient.DownloadFile(String.Copy(Huzuni), @"%appdata%\.minecraft\versions");
- }
- if (radioButton7.Checked == true)
- using (WebClient webClient = new WebClient())
- {
- webClient.DownloadFile(textBox1.Text, @"%appdata%\.minecraft\versions");
- }
- if (radioButton8.Checked == true)
- MessageBox.Show("Why did you download this EL LEGITO?", "Much Legit Very Wow");
- DeflateStream ds = new DeflateStream(File.OpenRead(@"%appdata%\.minecraft\versions\*.zip"), CompressionMode.Decompress);
- MessageBox.Show("Your client has been successfully installed!", "Hooray!");
- }
- private void button2_Click(object sender, EventArgs e)
- {
- Process.Start("http://www.wirez.cf/");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement