private void button1_Click(object sender, System.EventArgs e)
{
if(this.openFileDialog1.ShowDialog ()==DialogResult.OK )
{
//Open file;
}
}