Visual studio 2010 part 24

indows Presentation Foundation (WPF) là một NET công nghệ. Để xây dựng các ứng dụng máy tính để bàn. Kết quả của việc xây dựng một ứng dụng WPF là một tập tin *. exe mà bạn có thể chạy trực tiếp trên máy tính của bạn hoặc triển khai và chạy trên bất kỳ máy tính khác mà có. NET cài đặt. Với WPF, bạn có thể thêm một giao diện người dùng đồ họa (GUI), phát âm là "dính", mà làm cho nó dễ dàng hơn cho người dùng làm việc với chương trình của bạn. | Chapter 8 Building Desktop Applications with WPF 217 218 Microsoft Visual Studio 2010 A Beginner s Guide Key Skills Concepts Perform Screen Layout Use Controls Work with Data in the UI Windows Presentation Foundation WPF is a .NET technology for building desktop applications. The result of building a WPF application is an .exe file that you can run directly on your computer or deploy and run on any other computer that has .NET installed. With WPF you can add a graphical user interface GUI pronounced Gooey that makes it easier for users to work with your program. This chapter will show you how to lay out a screen in WPF and explain the controls such as Button and TextBox that you can place on the screen. You ll also learn how to capture events off controls allowing you to add code that runs based on user input. Since most applications work with data this chapter builds on what you learned in Chapter 7 and shows how to bind data to controls in the GUI. This chapter will show you how to build a WPF GUI with the VS Designer but sometimes you must work at a lower level and manipulate the XAML pronounced Zammel that defines the GUI. XAML is an XML format that WPF and Silverlight use to define a GUI. There are two appendixes in this book that will help you get up to speed in XAML Appendix A Introduction to XML and Appendix B Introduction to XAML. If you aren t familiar with XML start with Appendix A. However if you have a good grasp of basic XML syntax go straight to Appendix B. I ll try to explain WPF in a way that any XAML you see can be understood in its context but you might want to review the appendixes to avoid any confusion. Once you re familiar with XAML you can return here and start with the next section which explains how to start a WPF project. Starting a WPF Project In Chapter 5 you learned how to create and build projects. The example explained how to create a Console application. However what you learned there is generally applicable to most other .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
34    412    6    06-05-2024
Đã 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.