File and Registry Operations part 3

File and Registry Operations part 3

File and Registry Operations part 3

... menuFileOpen.Click += new EventHandler(OnFileOpen); chooseOpenFileDialog.FileOk += new CancelEventHandler(OnOpenFileDialogOK); } void OnFileOpen(object Sender, EventArgs e) { chooseOpenFileDialog.ShowDialog(); ... chọn một file trong hộp thoại, chúng ta gọi phương thức DisplayFile(), dùng để đọc file. void DisplayFile() { int nCols = 16; FileStream inStream = new FileStream(chosenFile, Fil...

Ngày tải lên: 28/10/2013, 21:15

8 336 0
Tài liệu File and Registry Operations part 1 pdf

Tài liệu File and Registry Operations part 1 pdf

... đường dẫn file, và làm việc bởi một đối tượng FileInfo dựa trên path này: protected void DisplayFileInfo(string fileFullName) { FileInfo theFile = new FileInfo(fileFullName); if (!theFile.Exists) ... ứng dụng. • FileSystemInfo – Lớp đối tượng cơ sở biểu diễn các file đối tượng hệ thống • FileInfo and File – Các lớp này thể hiện một file trên file hệ thống • DirectoryIn...

Ngày tải lên: 24/12/2013, 11:15

8 400 1
Tài liệu File and Registry Operations part 2 pdf

Tài liệu File and Registry Operations part 2 pdf

... dung của file, chúng ta cần thêm đoạn code sau: protected void DisplayFileInfo(string fileFullName) { FileInfo theFile = new FileInfo(fileFullName); if (!theFile.Exists) throw new FileNotFoundException(" ;File ... FileNotFoundException(" ;File not found: " + fileFullName); textBoxFileName.Text = theFile.Name; textBoxCreationTime.Text = theFile.CreationTime.ToLon...

Ngày tải lên: 24/12/2013, 11:15

5 377 0
Tài liệu File and Registry Operations part 4 pptx

Tài liệu File and Registry Operations part 4 pptx

... .NET Registry Classes Việc truy cập vào Registry trên .NET sẽ thông qua hai lớp Registry và RegistryKey thuộc amespace Microsoft.Win32. Một thể hiện của lớp RegistryKey tượng trưng cho một registry ... khoá) cũnggiống như một folder hoặc file trong một file system. Tuy nhiên có một khác biệt rất quan trọng . File system phân biệt giữa các files và folders nhưng Registry...

Ngày tải lên: 24/12/2013, 11:15

5 307 0
DEBT SUSTAINABILITY FRAMEWORK FOR LOW INCOME COUNTRIES : POLICY AND RESOURCE IMPLICATIONS - Part 3

DEBT SUSTAINABILITY FRAMEWORK FOR LOW INCOME COUNTRIES : POLICY AND RESOURCE IMPLICATIONS - Part 3

... policies and institutional capability and vulnerability to shocks are other factors identified as being important for assessing a country’s debt sustainability. In particular, country policies and ... External Debt Sustainable?” by Aart Kray and Vikram Nehru, Policy Research Working Paper 32 00, The World Bank, February 2004. 2 Ibid footnote 3. 3. The proposed grant allocatio...

Ngày tải lên: 06/11/2013, 23:15

9 315 0
w