OpenFileDialog
                 if ( openFileDialog1->ShowDialog() == System::Windows::Forms::DialogResult::OK ){
                     System::IO::StreamReader^ sr=System::IO::File::OpenText(openFileDialog1->FileName);
                     try{
                         String^s="";
                         //txtImie->Text=sr->ReadLine();
                     }finally{
                         if(sr) delete(IDisposable^)(sr);
                     }
                 }
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License