原创 wpf+.net 4.5 surface2.0 = 異步多點觸控 時間軸 part5
可使用多種方式將事件(UserControl 或Window或其他UIElement)內容呈現 以下是2個例子: 視頻方式: <UserControl xmlns:s="http://schemas.microsoft.com/sur
原创 wpf+.net 4.5 surface2.0 = 異步多點觸控 時間軸 part4
然後是一些雜七雜八的 枚舉類啊 模型啊什麼的。 事件項xaml: <UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
原创 C# 5新特性詳解之一——異步編程 轉。。保存一下以後看
C# 5新特性詳解之一——異步編程 2012-03-26 13:08 | 5619次閱讀 | 來源:CSDN 【已有35條評論】發表評論 關鍵詞:C# | 作者:王然 | 收藏這篇資訊 導讀:本文詳細介紹了C#5的新特性:
原创 wpf+.net 4.5 surface2.0 = 異步多點觸控 時間軸 part3
座標軸xaml: <UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns
原创 使用WebRequest 檢測 手機號歸屬地。 C#通用 使用json 和可設定超時的WebClient
首先建立jsonObject,當然你也可以使用xml解析,目前介紹一下我使用的方法。 /********************************************************** * 說明:Json通用轉換類
原创 手把手教你 用 wpf 製作metro ProgressRing (Windows8 等待動畫)
效果圖: 還在羨慕metro的ProgressRing嗎? wpf 也可以擁有 首先說下思路, 一共6個點圍繞一直圓轉,所以需要使用rotation動畫 並且一直轉下去。 那麼下面的問題就好解決了。 首先是xaml 部分 我們需要實
原创 利用C# 5 新特性 異步操作UI
參考文章:http://www.cnblogs.com/mgen/archive/2012/03/10/2389509.html using System; using System.Collections.Generic; using
原创 wpf+.net 4.5 surface2.0 = 異步多點觸控 時間軸 part2
先來張效果圖, 然後繼續貼 軸控件xaml : <UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xml
原创 wpf+.net 4.5 surface2.0 = 異步多點觸控 時間軸 part6
最後是工具類用於擴展lambda 污染循環 using System; using System.Collections.Generic; using System.Linq; using System.Text; using S
原创 首發 手把手教你製作 Windows8 應用程序內部的 hubtile (動態瓷磚控件) MetroStyle
在metro 風格中 動態磁貼是他的精髓 在wp7 的開發中 我們可以使用hubtile 來製作類似效果 但是在 win8 中並不具備這個功能, 下面我們來通過擴展GridViewItem 來實現 PictureHubTile
原创 wpf+.net 4.5 surface2.0 = 異步多點觸控 時間軸 part1
直接貼代碼 廢話不多說了。 運行環境 vs11 beta framework4.5 surface runtime surface sdk 2.0 多點觸控模擬器 multitouchVista 或多點觸控設備 源碼請關注我的資源下
原创 windows8 開發教程 教你製作 多點觸控Helper可將任意容器內任意對象進行多點縮放
實現方法: 對Manipulation進行抽象化 使不同容器可共用多點縮放事件, C# 代碼如下: using System; using System.Collections.Generic; using System.Lin
原创 圖片循環播放器。WPF製作 以下爲代碼
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using Syste
原创 自定義事件和參數。詳細版。。。
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using Syste
原创 winrt 上的翻書特效組件 源碼分享 轉載請說明
[TemplatePart(Name = A_PARTNAME, Type = typeof(Border))] [TemplatePart(Name = B_PARTNAME, Type = typeof(Border)