Silverlight tiếng việt phần 1 docx

6 230 0
Silverlight tiếng việt phần 1 docx

Đang tải... (xem toàn văn)

Thông tin tài liệu

Silverlight là gì? p trìn h thích h . H . trình bày c n lý phân quy , trình bày d , hình .Net Framework cho silverlight Core Presentation Components: Controls (Data Binding) DRM XAML trình viên ng trình bày c .Net Frame work for Silverlight: Data Base class library Window Communication Foundation (WCF) và HTTP Response, RSS, JSON, POX, và các SOAP Common language runtime (CLR)Windows Presentation Foundation controls (WPF) Box, DataGrid, DatePicker, HyperlinkButton, ListBox, RadioBut ton, and ScrollViewer.Dynamic language runtime (DLR) Các mô hình l p trình c t mô hình l p trình là Javascript API, cho ã c ung c hai mô hình l p trình là Managed API và Javascript API Javascript API trình thay vì t g HTML Managed API p trình silverligh p trình g là C#, Visual basic…). Operating system Internet Explorer 7 Internet Explorer 6 Firefox 1.5, 2.x, and 3.x Safari 2.x and 3.x Windows Vista có — có — Windows XP SP2 có có có — Windows XP SP3 có có có — Windows 2000 — có — — Windows Server 2003 (exclud ing IA-64) có có có — Mac OS 10.4.8+ (PowerPC) — — — — Mac OS 10.4.8+ (Intel-based) — — có Có Microsoft Expression Blend: p trình bày Layer c p trình v Visual Studio 2008: ASP.NET AJAX: Microsoft ASP.NET 3.5 Extensions Preview: ASP.NET: ASP.NET MediaPlayer Server Control ASP.NET Silverlight Server Control Internet servers: Microsoft Windows Communication Foundation (WCF) services. : http://www.microsoft.com/downloads/details.aspx?familyid=C22D6A7B-546 F-4407-8EF6-D60C8EE221ED&displaylang=en Chún ta trong Templates W L Project Type oject) i. // Khai bao button Button myButton; public Page() { InitializeComponent(); myButton = new Button(); myButton.Content = "Click Me"; myButton.Height = 25; myButton.Width = 100; myButton.Margin = new Thickness(10, 10, 0, 0); LayoutRoot.Children.Add(myButton); n myButton.Click += new RoutedEventHandler(myButton_Click); void myButton_Click(object sender, RoutedEventArgs e) { System.Windows.Browser.HtmlPage.Window.Alert("Hello Silverlight World!"); } i. XAML <UserControl x:Class="HelloWorld.Page" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Width="400" Height="300"> <Grid x:Name="LayoutRoot" Background="White"> <Button Name="myButton" Content="Click me" Width="100"Height="25"></Button> </Grid> </UserControl> Silverlight Deverloper center: http://msdn.microsoft.com/en-us/library/bb404708(VS.95).aspx http://silverlight.net/ . myButton.Content = "Click Me"; myButton.Height = 25; myButton.Width = 10 0; myButton.Margin = new Thickness (10 , 10 , 0, 0); LayoutRoot.Children.Add(myButton); n myButton.Click += new. Width=" ;10 0"Height="25"></Button> </Grid> </UserControl> Silverlight Deverloper center: http://msdn.microsoft.com/en-us/library/bb404708(VS.95).aspx http:/ /silverlight. net/. Silverlight là gì? p trìn h thích h . H . trình bày c n lý phân quy , trình bày d , hình .Net Framework cho silverlight Core Presentation Components:

Ngày đăng: 22/07/2014, 17:20

Tài liệu cùng người dùng

Tài liệu liên quan