随笔分类 - WPF
摘要:View Code 1 <Window x:Class="WPF.MainWindow" 2 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 3 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 4 Title="MainWindow" Height="350" Width="525"> 5 <Grid> 6
阅读全文
摘要:2012-06-05 /// /// 获取本地IP地址信息 /// void GetAddressIP() { ///获取本地的IP地址 string AddressIP = string.Empty; foreach (IPAddress _IPAddress in Dns.GetHostEntry(Dns.GetHostName()).AddressList) { if (_IPAddress.AddressF...
阅读全文
摘要:<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Class="Microsoft.Samples.KeyFrameAnimations.KeyFramesIntroduction" WindowTitle="KeyFrame Animations"> <Border Width="
阅读全文
摘要:WPF 设计器包括若干个程序集,这些程序集分为三个类别:公共类别、私有类别和特定于设计器的类别。公共程序集公开可用于向控件添加设计时逻辑的类。私有程序集和特定于设计器的程序集定义 WPF 设计器的功能集以及该功能集与设计器(如 Visual Studio 和 Expression Blend)的交互。WPF 和 Silverlight 设计器作为单个实体安装。每个设计器没有单独的包。下表显示了如何部署 WPF 设计器功能。程序集公共 API说明Microsoft.Windows.Design.Extensibility.dll是通过特性和 Visual Studio SDK 集成逻辑提供扩展性
阅读全文
摘要:///<summary> /// 调用系统 语音朗读 备注 该方法只支持.net 4.0 版本以上 /// </summary> /// <param name="type">错误类型</param> /// <param name="isAsync">是否同步朗读</param> /// <param name="CardCode">卡片编号/卡片持有者</param> void PlaySpeekMouth(Classes.AlarmT
阅读全文