suppose i hv window application , in which i asked user to upload a picture , when he upload picture then i want to add another feature to resize that picture so only that part of picture is shown. for this purpose there should be a rectangle as in facebook please someone help me
i have written code for uploading picture
private void oPENToolStripMenuItem_Click(object sender, EventArgs e)
{
string name = "";
openFileDialog1.Filter = "Image Files (JPG,JPEG,PNG,GIF)|*.JPG;*.PNG;*.GIF;*.JPEG";
openFileDialog1.Title = "Open a Image file";
openFileDialog1.FilterIndex = 1;
if (openFileDialog1.ShowDialog() == DialogResult.OK)
{
name = openFileDialog1.FileName;
ilabel.Text = name;
}
}