Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Silverlight 4¶Ô±ÈFlex 4´òÓ¡¹¦ÄÜ

Silverlight×÷ΪһÃÅм¼ÊõÍƳöÒѾ­ÈýÄ꣬ÔÚSilverlightÔçÆÚ°æ±¾£¬´ó¼Ò¶¼ÈÏΪSilverlightµÄ¹¦ÄÜÎÞ·¨ºÍFlex½øÐжԱȣ¬¸üÊÇÎÞ·¨³¬Ô½Flex£¬ÔÚ2009Äê11Ô£¬Î¢ÈíÍƳöÁËSilverlight 4²âÊÔ°æ±¾£¬ÒÔÆäÇ¿´óµÄ¹¦ÄÜÓÖÒ»´ÎÎüÒýÁËÖڶ࿪·¢ÈËÔ±µÄÑÛÇò£¬Ðí¶àÔø¾­ÔÚFlexÏÂÖ§³ÖµÄ¹¦ÄÜ£¬ÏÖÔÚSilverlightÏÂÒѾ­¿ÉÒÔʵÏÖ£¬¶øÇÒ»¹ÓÐһЩÐµĹ¦ÄÜ£¬FlexÎÞ·¨ÊµÏÖ¡£ÀýÈ磬Silverlight 4µÄCOM×é¼þ½»»¥£¬´Ó×ÀÃæÍÏÀ­¶ÔÏóµ½SilverlightÓ¦Óõȹ¦ÄÜ¡£ÎªÁËʹ¸ü¶àµÄ¿ª·¢ÈËÔ±Á˽âSilverlight¿ª·¢Æ½Ì¨£¬ÎÒ½«¶ÔSilverlight 4ºÍFlex 4½øÐÐһϵÁеĶԱȣ¬Ï£ÍûÄÜ°ïÖú¿ª·¢ÈËÔ±Á˽â¸ü¶àSilverlightй¦ÄÜ¡£±¾ÎÄ£¬½«¶ÔSilverlight 4ºÍFlex 4µÄ´òÓ¡¹¦ÄܽøÐжԱȡ£
 
Silverlight 4´òÓ¡¹¦ÄÜ
Silverlight 4µÄ´òÓ¡¹¦ÄÜʯÓÍPrintDocumentÀà½øÐпØÖÆ£¬ÊµÏÖ´òÓ¡¹¦ÄÜÐèÒª°´ÕÕÒÔϲ½Ö裺
²½Öè1£º½¨Á¢PrintDocument¶ÔÏó£»
²½Öè2£ºÔÚPrintDocument¶ÔÏóÖÐÉèÖÃÎĵµÃû£»
²½Öè3£ºÌí¼Óʼþ¾ä±úµ½PrintPageʼþÖУ¬Í¬Ê±Ò²¿ÉÒÔÌí¼Óµ½StartPrintºÍEndPrintʼþÖУ»
²½Öè4£ºÔÚPrintPage´òӡʼþÖУ¬½¨Á¢Ò»¸ö´òÓ¡´°¿Ú£¬¸Ã´°¿Ú½«×÷Ϊ¸¸´°¿Ú³öÏÖ£¬¿ÉÒÔÌí¼ÓÏë´òÓ¡µÄÄÚÈÝ»òÕ߿ؼþµ½¸Ã´òÓ¡´°¿Ú¡£ÀýÈ罨Á¢Ò»¸öStackPanel£¬È»ºóÔÚStackPanelÖÐÌí¼ÓÏë´òÓ¡µÄÄÚÈݿؼþ£»
²½Öè5£ºÔÚ´òӡʱ£¬Èç¹ûHasMorePagesΪTrue£¬ËµÃ÷Ö§³Ö¶à¸öÒ³Ãæ½øÐдòÓ¡£»
²½Öè6£ºÖظ´4ºÍ5²½Ö裬¾Í¿ÉÒÔʵÏÖÍêÕûµÄSilverlight 4´òÓ¡¹¦ÄÜ£»
¿´ÆðÀ´ÕâЩ²½ÖèÊDz»ÊǺܼòµ¥¡£ÏÂÃæÌṩһ¸öÀý³Ì´úÂ룬µã»÷´òÓ¡°´Å¥ºó£¬»á´òÓ¡³ö“Hello World”¡£ 
1: using System;
2: using System.Windows;
3: using System.Windows.Controls;
4: using System.Windows.Printing;
5: 
6: namespace HelloPrinter
7: {
8: public partial class MainPage : UserControl
9: {
10: public MainPage()
11: {
12: InitializeComponent();
13: }
14: 
15: private void button1_Click(object sender, RoutedEventArgs e)
16: {
17: PrintDocument printDoc = new PrintDocument();
18: printDoc.DocumentName = "Hello World from Silverlight";
19: printDoc.PrintPage += new EventHandler<PrintPageEventArgs>(printDoc_PrintPage);
20: print


Ïà¹ØÎĵµ£º

Flex101£ºÓÃFlex´´½¨Swipe·­°å/SlideЧ¹û

±¾ÎÄÀ´×Ô£ºhttp://www.insideria.com/2009/12/flex-101-creating-an-swipeslid.html
ÔÚ±¾ÀýÖУ¬ÎÒÃǽ«Ì¸ÂÛÔõÑù´´½¨swipe/slideЧ¹û¡£µ±Äã´ÓÒ»¸öÆÁÄ»·­µ½ÁíÍâÒ»¸öÆÁÄ»ÉÏ£¬Äã¾­³£¿ÉÒÔ¿´µ½´¥ÃþÉèÊ©Àï³öÏ֓ת±ä”£¬ÎÒÃǾÍÊÇÊܵ½ÁËËüµÄÆô·¢¡£Ò»Ò³ÄÚÈÝ´Ó»¬ÒƵ½Ò»±ß£¬ÁíÍâÒ»Ò³´ÓÁíÍâÒ»±ßÎ޷컬¶¯½øÀ´¡£
ÔÚÎÒÃǽøÒ»²½ ......

FlexÍÏק CanvasÈÝÆ÷ÀïÍ϶¯Box


2009-02-18
ËõÂÔÏÔʾ
FlexÍÏק-CanvasÈÝÆ÷ÀïÍ϶¯Box
ÎÄÕ·ÖÀà:WebÇ°¶Ë¹Ø¼ü×Ö: flex, flexÍÏק, canvas, box
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script>
<![CDATA[
import mx.core. ......

FlexÍÏק Á½¸öListÖ®¼äÍÏק

FlexÍÏק-Á½¸öListÖ®¼äÍÏק
¹Ø¼ü×Ö: flexÍÏק, list
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="creationHandler();">
<mx:Script>
<![CDATA[
import mx.events.DragEvent;
imp ......

FlexÖд°Ìå²ÎÊý´«µÝ·½·¨

http://blog.csdn.net/shuiying/archive/2009/08/19/4459419.aspx  ØâÓÚ
DELPHI C#´«µÝºÜ¼òµ¥ Õâ¸öÔõôÔõôÂé·³ÄØ

FlexÖд°Ìå²ÎÊý´«µÝ·½·¨
ÊÕ²Ø



document.body.oncopy = func ......

Flex ²à±ßÍ£¿¿¿Ø¼þ

ÏÂͼÊÇ Microsoft Visual Studio IDE µÄ²¿·Ö½Øͼ¡£
¡¡¡¡
¡¡¡¡ÕâÊÇÒ»ÖÖ¿ÉÍ£¿¿µÄ´°¿Ú£¬´°¿Ú±êÌâÀ¸µÚ¶þ¸ö°´Å¥¿ÉÒÔ¿ØÖÆ´°¿ÚÊÇ·ñÍ£¿¿¡£´°¿Ú´¦ÓÚÍ£¿¿×´Ì¬Ê±¾Í»áÓëÖ÷½çÃæÈÚΪһÌ壬¿ÉÒÔͨ¹ýµã»÷´°¿ÚÏ·½£¨Èç¹û¿ÉÍ£¿¿´°¿Ú´¦ÓÚÕûÌå²¼¾ÖÏ·½µÄ»°£©µÄTabBarÀ´Ñ¡ÔñÏÔʾÄÄÒ»¸ö´°¿Ú£»¶ø·ÇÍ£¿¿×´Ì¬µÄ´°¿ÚÔò²»»áÕ¼¾ÝÕûÌå²¼¾ÖµÄ¿Õ¼ä£¬½ö× ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ