2014年7月29日

iPhone开发 Swift - NSNotification 通知

摘要: Swift创建Notification通知创建一个SingleView Application打开AppDelegate.swift,在方法application(application:UIApplication,didFinishLaunchingWithOptions launchOption... 阅读全文

posted @ 2014-07-29 22:34 cjerych 阅读(7655) 评论(1) 推荐(0) 编辑

2012年7月3日

asp.net通讯问题

摘要: 我用asp.net写了一个web Application,最终这个程序是要放到公网上用。现在假设有两台设备(例如移动终端)分别在两个子网中,这样就会出现两台设备可能为同一个IP地址(如192.168.1.100)。现在问题是假设这两台设备都向Web Application发了消息(每隔60秒发送一次),信息中包括了IP地址及该机器的基本信息,都存入到数据库中。过一段时间后,web application需要向这两台设备发送请求(例如获取两台设备的屏幕截图),那么怎样做才能够保证web application是向指定的某个设备发送请求呢?之前做的是用IP地址来区别,但是现在问题是IP地址可能相同 阅读全文

posted @ 2012-07-03 09:47 cjerych 阅读(388) 评论(2) 推荐(1) 编辑

2011年8月16日

Creating a File Explorer for Isolated Storage

摘要: In this example, you will create a file explorer that will allow a user to navigate through an applition's virtual storage within SL's isolated storage. The file explorer will allow users to view, modify, and create new file within the given directories. Keep in mond that a SL applicatoin ha 阅读全文

posted @ 2011-08-16 17:15 cjerych 阅读(206) 评论(0) 推荐(0) 编辑

Passing data to Navigation Pages

摘要: 1. Begin by opening the project NavAppFromScratch you were working on in the previous section.2. Open the xaml for View1.xmal and modify the source to include a ComboBox under the Button: <Combobox Padding="10" Margin="10" x:Name="Color" Width="100"> < 阅读全文

posted @ 2011-08-16 13:47 cjerych 阅读(201) 评论(0) 推荐(0) 编辑

Using the NavigationService Object in SL4.0

摘要: 1 Begin by opening the project NavAppFromScratch you just completed in previous session.2. open the xmal file for View1.xaml and modify the source to include a button under the TextBlock.<Grid x:Name="LayoutRoot"> <StackPanel> <TextBlock Text = "View 1" FontSize=&q 阅读全文

posted @ 2011-08-16 13:32 cjerych 阅读(257) 评论(0) 推荐(0) 编辑

Creating a Silverlight Navigation Application

摘要: This exercise demonstrates creating a Sl application with navigation support from scratch using the navigation framework. In the exercise, you will build a simple application that will contain two HyperLinkButton and a Frame. Clicking the links will load one of two pages into the Frame. Let's ge 阅读全文

posted @ 2011-08-16 10:41 cjerych 阅读(428) 评论(0) 推荐(0) 编辑

2011年8月15日

Using the Modal Child WIndow in SL 4.0

摘要: In this exercise, you will create a simple registration form that accepts a first and last name. When someone presses the button to register, a modal window will appear with a terms and conditions notice that users must agree to before proceeding. You won't fully code the registration form, you& 阅读全文

posted @ 2011-08-15 16:41 cjerych 阅读(335) 评论(0) 推荐(0) 编辑

Working with the Accordion Control in Silverlight 4.0

摘要: In this example we will use the Accordion control to display a list of books, grouped by category.1. Create a new SL application in VS 2010 called AccordionControl. Allow VS to create a web applition project to host the application.2. With the MainPage.Xaml file selected, position the cursor in the 阅读全文

posted @ 2011-08-15 15:50 cjerych 阅读(413) 评论(0) 推荐(0) 编辑

Building a ListBox with custom content in Silverlight 4.0

摘要: Let's take the same data that displayed poker starting hands from the previous exercise and see what type of cool Listbox you can build with it.1. Start out by creating a new Silverlight applicatoin called ListBoxCustom and allow VS to create a hosting web site.2. You will use the same class tha 阅读全文

posted @ 2011-08-15 15:09 cjerych 阅读(365) 评论(0) 推荐(0) 编辑

Building a DataGrid with Custom Columns in Silverlight 4.0

摘要: I thought it would be fun to build a DataGrid tha contains a list of starting hads in poker. If you have ever watched poker on TV, you most likely heard the players refer to things like "pocket rockets" and "cowboys". These are smply nicknames they have given to starting hands.1. 阅读全文

posted @ 2011-08-15 14:10 cjerych 阅读(220) 评论(0) 推荐(0) 编辑

导航