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); } }
wersja strony: 0, ostatnia edycja: 31 Mar 2010 15:11