求助,如何在打开文件的同时取得该打开文件的文件名显示于窗体标题栏(TXT文件)
											    private void button2_Click(object sender, System.EventArgs e)
        {
            
            
            
            OpenFileDialog openfile=new OpenFileDialog();
            openfile .Filter= "所有文件|*.*";
            if(openFileDialog1.ShowDialog()==DialogResult.OK)
            {
                
                this .textBox1.Text="";
                string fname=openFileDialog1.FileName;
                StreamReader sr=File.OpenText(fname);
                
                string str;
                while((str=sr.ReadLine())!=null)
                { 
                    this.textBox1.Text+=str;
                }
            }
        }
我已经能打开文件了,但是不知道怎么文件名取出,显示FORM的标题上.
请高手指教!!!!!!!!

 
											
