11 2011 档案
摘要:C#与C++、Java之比较概览Ben Albahari 著 荣耀 译本文翻译时间较早。欢迎指出任何误失。谢谢。感谢以下人士的支持和反馈(按字母先后顺序):Don Box、C.R. Manning、Joe Nalewabau、John Osborn、Thomas Rhode、Daryl Richter。本文以C#提供的新编程方式以及它对两个近邻Java和C++的改进为中心。C#在很多方面采用和Java类似的方式来改进C++,因此,我不打算重复诸如单根对象层次优点之类的东西。正文以对C#和Java的相似点概述开始,然后着重探究C#的新特性。背景2000年6月,微软同时宣布了.NET平台和一个名.
阅读全文
摘要:引用地址:http://msdn.microsoft.com/en-us/library/hh221552.aspx
阅读全文
摘要:One of the UI features of lists on Windows Phone 7 is that the "scroll bars" don't really act like traditional scroll bars; they are non-interactive and they only appear when the list is actually scrolling. To achieve this, the Silverlight team added a new visual state group that is us
阅读全文
摘要:private void MenuItem_Click(object sender, RoutedEventArgs e){ string header = (sender as MenuItem).Header.ToString(); ListBoxItem selectedListBoxItem = this.listBox.ItemContainerGenerator.ContainerFromItem((sender as MenuItem).DataContext) as ListBoxItem; if (selectedListBoxItem == null) { return;
阅读全文
摘要:前些天自己做了一个在windows phone 7上的XNA 游戏,完成之后上传到 微软的 MarketPlace 上后,过了两天看到自己在 MarketPlace 上的操作面板提示认证失败,下载文档后,看到以下部分摘要:RequirementsWhen the user is already playing music on the phone when the application is launched, the application must not pause, resume, or stop the active music in the phone MediaQueue b.
阅读全文

浙公网安备 33010602011771号