work hard work smart

专注于Java后端开发。 不断总结,举一反三。
随笔 - 1158, 文章 - 0, 评论 - 153, 阅读 - 186万
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

08 2012 档案

摘要:好久没写博客了,最近看到现在 Metro style Apps 文章,示例很少,研究了下 感觉不错把心得分享出来。代码参考了MSDN的消息框MessageDialog的例子。结合自己的体会。Metro Style App中消息对话框可以显示用户帮助信息,消息对话框由MessageDialog实现。1、自定义消息框。下面是自己定义的消息框,命令是你想要的操作,此处略(用ToDo来表示)。 private async void CustomCommandButton_Click2(object sender, RoutedEventArgs e) { ... 阅读全文

posted @ 2012-08-06 16:17 work hard work smart 阅读(2716) 评论(0) 推荐(0) 编辑

摘要:使用的类:1、UserInformation.GetDisplayNameAsync() 获得用户名2、UserInformation.GetFirstNameAsync() 获得名3、UserInformation.GetLastNameAsync() 获得姓4、StorageFile image = UserInformation.GetAccountPicture(AccountPictureKind.SmallImage) as StorageFile; 获得用户(小)图片5、StorageFile image = UserInformation.GetAccountPicture(A 阅读全文

posted @ 2012-08-06 15:28 work hard work smart 阅读(319) 评论(0) 推荐(0) 编辑

摘要:Metro style App ContextMenu Summary。Fist let us see the effect pictures。Picture 1.Picture 2.Get the frameworkElement Rect。 public static Rect GetElementRect(FrameworkElement element) { GeneralTransform buttonTransform = element.TransformToVisual(null); Point point... 阅读全文

posted @ 2012-08-01 18:56 work hard work smart 阅读(800) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示