上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 21 下一页

2012年9月12日

手势

摘要: 手势 – 让触控语言成为应用的一部分我们都对手势很熟悉;许多用户想都不想就知道在 Web 浏览器上平移和通过点击来启动应用。对于我们来说,手势是 Windows 8 交互语言的一种表达形式。通过手势可以获取用户输入,并将输入映射到应用和系统中的自然操作。手势输入显然是构建在指针之上。许多应用都是使用手势的对象,处理点击、平移和缩放,而与相关的原始指针数据关系不大,只是传递这些数据进行手势检测。再考虑一下输入平台的层次,每一个级别都支持一组一致的手势,这些手势正好反映了 Windows 8 交互语言。在大多数情况下,您不需要教导用户学习新的概念,他们就会使用您的应用。 图 3:Windows 8 阅读全文

posted @ 2012-09-12 11:37 GIS-MAN 阅读(911) 评论(0) 推荐(0) 编辑

2012年9月10日

碎知识

摘要: 设置点击输入框时弹出的键盘类型: <TextBox.InputScope> <InputScope> <InputScope.Names> <InputScopeName NameValue="Number" /> </InputScope.Names> </InputScope> </TextBox.InputScope>其中NameValue的值即为弹出的键盘类型,可以根据自己需要进行改变page gets several events in sequence 页面事件执行顺序:• On 阅读全文

posted @ 2012-09-10 15:10 GIS-MAN 阅读(161) 评论(0) 推荐(0) 编辑

VS 11 Split application程序解析

摘要: 先看看怎么把一个page 搞成启动业 页在 onLanched 事件里面把, Window.Current.Content = _rootFrame; Window.Current.Activate(); var _rootFrame = new Frame(); _rootFrame.Navigate(typeof(ItemsPage), sampleData.ItemGroups);///首先是设置 Window.Current.Content属性,然后.Activate();然后看看ItemsPage 里面有什么 ,看继承关系吧public sealed partial class I. 阅读全文

posted @ 2012-09-10 10:34 GIS-MAN 阅读(350) 评论(0) 推荐(0) 编辑

2012年9月7日

webview

摘要: WebView is not a Control subclass and thus does not have a control template. The display area is the Width and Height.WebView has the characteristic that other UI regions such as controls cannot be rendered on top of the WebView. This is because of how window regions are handled internally, particul 阅读全文

posted @ 2012-09-07 14:32 GIS-MAN 阅读(362) 评论(0) 推荐(0) 编辑

Windows Store 数据存储

摘要: http://www.cnblogs.com/youhui/archive/2012/05/19/2509308.html 阅读全文

posted @ 2012-09-07 10:22 GIS-MAN 阅读(68) 评论(0) 推荐(0) 编辑

2012年9月5日

async await ,一步一步试用

摘要: public class downClass1 { public IStorageFile pResultStorageFile; public async Task<IStorageFile> down() { string CountriesFile = "fruit.xml"; StorageFolder InstallationFolder =Windows.ApplicationModel.Package.Current.InstalledLocation; ... 阅读全文

posted @ 2012-09-05 16:49 GIS-MAN 阅读(343) 评论(0) 推荐(0) 编辑

两数组是否“相等”?。NET 下

摘要: http://www.codesky.net/article/200912/124632.html在.NET 4.0中我们将看到数组方面有很大的改进,本文将给大家讨论的是.NET 4.0数组的新增功能,希望对大家用好.NET 4.0数组有所帮助。1 两数组是否“相等”?在实际开发中,有时我们需要比对两个数组是否拥有一致的元素,例如,以下两个数组由于拥有相同的元素,因此被认为是相等的:int[]arr1=newint[] { 1,2,3,4 }; int[]arr2=newint[] { 1,2,3,4 };在.NET早期版本中,要实现上述数组比对功能,必须自己动手编写一个函数,在其内部使用循环 阅读全文

posted @ 2012-09-05 14:47 GIS-MAN 阅读(1023) 评论(1) 推荐(0) 编辑

BitArray

摘要: using System; using System.Collections; public class SamplesBitArray { public static void Main() { // Creates and initializes several BitArrays. BitArray myBA1 = new BitArray( 5 ); BitArray myBA2 = new BitArray( 5, false ); byte[] myBytes = new byte[5] { 1, 2, 3, 4, 5 }... 阅读全文

posted @ 2012-09-05 14:43 GIS-MAN 阅读(251) 评论(0) 推荐(0) 编辑

File I/O in Windows Runtime

摘要: The following obtains a directory listing of all files in the documents folder:StorageFolder docsFolder = KnownFolders.DocumentsLibrary;IReadOnlyList<StorageFile> files = await docsFolder.GetFilesAsync();foreach (IStorageFile file in files)Debug.WriteLine (file.Name);The CreateFileQueryWithOpt 阅读全文

posted @ 2012-09-05 14:19 GIS-MAN 阅读(311) 评论(0) 推荐(0) 编辑

TCP in Windows Runtime(运行时)

摘要: Windows.Networking.Sockets namespaceAs with the .NET implementation, there are two primary classes to handle server and client roles. In WinRT, these are StreamSocketListener and StreamSocket.The following method starts a server on port 51111, and waits for a client to connect,It then reads a single 阅读全文

posted @ 2012-09-05 11:38 GIS-MAN 阅读(544) 评论(0) 推荐(0) 编辑

上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 21 下一页

导航