///
/// Load pic from file.
///
private void LoadPicture()
{
if (openFileDialog1.ShowDialog() == DialogResult.OK)
{
// MessageBox.Show(openFileDialog1.FileName);
pictureBox1.ImageLocation = openFileDialog1.FileName;
}
else
{
MessageBox.Show("User Canceled.");
}
}