Jump to content

cbox


Recommended Posts

Posted

1.) Create an Textbox and an Picturebox big enought for your avatar.

 

2.) Create a button and code it with this

this.pictureBox1.ImageLocation = "http://avatar.xboxlive.com/avatar/" + this.textBox1.Text + "/avatar-body.png";

 

3.) If You like to create a save button do so name it save then enter this as the code

 SaveFileDialog dialog = new SaveFileDialog();
dialog.Filter = "PNG Image|*.png|JPEG Image|*.jpg|GIF Image|*.gif";
if (dialog.ShowDialog() == DialogResult.OK)
{
this.pictureBox1.Image.Save(dialog.FileName);
}

 

4.)Now your done ! :) I will include an project source

 

This tut was brought to you by xXxStevenxXx of Blueshadowz

Link below on next post :)

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...