Đang chuẩn bị liên kết để tải về tài liệu:
Professional C# 2008 phần 7

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

và có thể bị làm phiền để sử dụng một chức năng loại an toàn cho mỗi và mọi truy cập vào cột, bạn đứng để đạt được một nơi nào đó trong khu vực của một mười lần tốc độ tăng hơn bằng cách sử dụng một tên cột văn bản (khi lựa chọn những triệu bản sao của cùng một cột). Không cần phải nói, có một sự cân bằng giữa bảo trì | Part V Presentation Define what folder should be the base or root folder. Return the currently selected folder. Provide the ability to delay loading of the file structure. This should be a good starting point. One requirement has been satisfied by the fact that the TreeView control will be the base of the new control. The TreeView control displays data in a hierarchical format. It displays text describing the object in the list and optionally an icon. This list can be expanded and contracted by clicking an object or using the arrow keys. Create a new Windows Control Library project in Visual Studio .NET named FolderTree and delete the class UserControll. Add a new class and call it FolderTree. Because FolderTree will be derived from TreeView change the class declaration from public class FolderTree to public class FolderTree System.Windows.Forms.TreeView At this point you actually have a fully functional and working FolderTree control. It will do everything that the TreeView can do and nothing more. The TreeView control maintains a collection of TreeNode objects. You can t load files and folders directly into the control. You have a couple of ways to map the TreeNode that is loaded into the Nodes collection of the TreeView and the file or folder that it represents. For example when each folder is processed a new TreeNode object is created and the text property is set to the name of the file or folder. If at some point additional information about the file or folder is needed you have to make another trip to the disk to gather that information or store additional data regarding the file or folder in the Tag property. Another method is to create a new class that is derived from TreeNode. New properties and methods can be added and the base functionality of the TreeNode is still there. This is the path that you use in this example. It allows for a more flexible design. If you need new properties you can add them easily without breaking the existing code. You must load

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.