This document appears to contain programming examples and exercises in Vietnamese. It includes 10 programming problems or exercises with examples of code using Pascal. It also discusses topics like variable declaration, if/else statements, loops, and functions. The document is divided into 3 chapters that cover programming fundamentals and examples.
This document appears to contain programming examples and exercises in Vietnamese. It includes 10 programming problems or exercises with examples of code using Pascal. It also discusses topics like variable declaration, if/else statements, loops, and functions. The document is divided into 3 chapters that cover programming fundamentals and examples.
2. N畛i Dung Tr畛 ng畉i c畛a h畛 th畛ng giao di畛n hi畛n t畉i WPF l g狸 ? WPF gi畉i quy畉t c叩c v畉n 畛 ny nh動 th畉 no ? XAML l g狸 ? Layouts, controls, templates, styles & resources Content controls Thu畛c t鱈nh ph畛 thu畛c (dependency properties) Routed events Data binding Animation v multimedia 畛 h畛a 2D, 3D v h狸nh 畉nh Documents Tham Kh畉o
3. Nhi畛u c担ng ngh畛 動畛c s畛 d畛ng 畛 t畉o ra m畛t 畛ng d畛ng Windows Forms PDF GDI+ Windows Media Player DirectX Flash L畉p tr狸nh vi棚n v 畛 h畛a vi棚n kh担ng th畛 lm vi畛c chung v畛i nhau Kh担ng d湛ng c湛ng m畛t c担ng ngh畛 trong vi畛c ph叩t tri畛n 畛ng d畛ng Windows v Web Tr畛 Ng畉i C畛a H畛 Th畛ng Giao Di畛n Hi畛n T畉i
4. WPF L G狸 ? L m畛t c担ng ngh畛 h畛p nh畉t v m畉nh m畉 畛 x但y d畛ng UI, media v documents S畛 d畛ng ton b畛 .NET Framework 畛 x但y d畛ng h畛 th畛ng giao di畛n Giao di畛n kh担ng ph畛c thu畛c vo 畛 ph但n gi畉i c畛a mn h狸nh
5. WPF L G狸 ? Application Services Deployment Services Databinding USER INTERFACE SERVICES XAML Accessibility Property System Input & Eventing BASE SERVICES DOCUMENT SERVICES Packaging Services XPS Documents Animation 2D 3D Audio Imaging Text Video Effects Composition Engine MEDIA INTEGRATION LAYER Controls Layout Windows Presentation Foundation XPS Viewer
7. H畛p nh畉t c叩c APIs c畛a c叩c c担ng ngh畛 kh叩c nhau Audio v video V畉 Animation Ti li畛u Cho ph辿p l畉p tr狸nh vi棚n v 畛 h畛a vi棚n lm vi畛c 動畛c v畛i nhau S畛 d畛ng c湛ng m畛t c担ng ngh畛 畛 x但y d畛ng 畛ng d畛ng Windows v Web WPF Gi畉i Quy畉t C叩c V畉n 畛 Ny Nh動 Th畉 No ?
8. WPF Gi畉i Quy畉t C叩c V畉n 畛 Ny Nh動 Th畉 No ? Unified WPF API Documents User Interface Media DirectX GDI GDI+ Media Player HTML HTML Word PDF Win Forms Web Forms MFC VB Forms
9. XAML L G狸 ? XAML = Extensible Application Markup Language Tr担ng gi畛ng nh動 XML ho畉c HTML Cho ph辿p UI 動畛c thi畉t k畉 b畉ng ng担n ng畛 d畛a tr棚n ng担n ng畛 叩nh d畉u XAML v m達 c湛ng t畛n t畉i V畉 動畛c c畉 trong browser v Windows <Button Width="100"> OK <Button.Background> LightBlue </Button.Background> </Button> XAML Button b1 = new Button(); b1.Content = "OK"; b1.Background = new SolidColorBrush(Colors.LightBlue); b1.Width = 100; C# Dim b1 As New Button b1.Content = "OK" b1.Background = New _ SolidColorBrush(Colors.LightBlue) b1.Width = 100 VB.NET
20. Transformations: d湛ng l畛p Transform to 畛 xoay, thay 畛i v畛 tr鱈, k鱈ch th動畛c c畛a geometries, visuals, brushes, framework elements, v controls. Animations: d湛ng API c畛a l畛p Animation v Timing 畛 lm cho 畛i t動畛ng thay 畛i mu s畉c, v畛 tr鱈, k鱈ch th動畛c, Visuals: ch鱈nh l h畛 th畛ng 畛 h畛a c畛a Windows Presentation Foundation. T畉t c畉 nh畛ng 畛i t動畛ng WPF s畛 d畛ng Visuals 畛 v畉 ra mn h狸nh 畛 h畛a 3-D: namespace System.Windows.Media.Media3D defines 畛nh ngh挑a c叩c thao t叩c tr棚n 畛 h畛a 3D 畛 H畛a 2D, 3D V H狸nh 畉nh
21. FlowDocumentReader: l class 畛 thao t叩c tr棚n c叩c document 畛ng: xem document tr棚n m叩y t鱈nh XpsDocument: l class 畛 thao t叩c tr棚n document t畛nh, 畛 in ra b畉ng m叩y in Documents
22. MSDN www.windowsclient.net Pro WPF in C# 2008 - Matthew MacDonald www.thewpfblog.com Microsoft Expression Blend: www.microsoft.com/expression Tham Kh畉o