• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
wangrenzhu
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理

2012年3月22日

图片循环播放器。WPF制作 以下为代码
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using Syst 阅读全文
posted @ 2012-03-22 17:43 wangrenzhu 阅读(510) 评论(0) 推荐(1)
 
自定义事件和参数。详细版。。。
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using Syst 阅读全文
posted @ 2012-03-22 15:39 wangrenzhu 阅读(334) 评论(0) 推荐(0)
 
自定义事件。。转
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Controls; using System.Windows; namespace Callback_Validation_DPs { #region 依赖属性简单调用 步骤 public class SimpleDPClass : Control//DependencyObject { public SimpleDPClass() : b... 阅读全文
posted @ 2012-03-22 14:31 wangrenzhu 阅读(191) 评论(0) 推荐(0)
 
使用WebRequest 检测 手机号归属地。 C#通用 使用json 和可设定超时的WebClient
摘要: 首先建立jsonObject,当然你也可以使用xml解析,目前介绍一下我使用的方法。/********************************************************** * 说明:Json通用转换类 *********************************************************/ using System; using System.Collections.Generic; using System.Text; namespace Xfrog.Net { /// <summary> /// 用于构建... 阅读全文
posted @ 2012-03-22 10:39 wangrenzhu 阅读(240) 评论(0) 推荐(0)
 
WPF 悬浮键盘
摘要: public class TouchScreenKeyboard : Window { #region Property & Variable & Constructor private static double _WidthTouchKeyboard = 830; public static double WidthTouchKeyboard { get { return _WidthTouchKeyboard; } set { _WidthTouchKeyboa... 阅读全文
posted @ 2012-03-22 10:30 wangrenzhu 阅读(249) 评论(0) 推荐(0)
 
近期项目作品展示 WPF 制作客户端
摘要: WPF制作:果图如下。以上为部分效果图。。后期将把程序demo上传 请关注我的blog 阅读全文
posted @ 2012-03-22 10:25 wangrenzhu 阅读(215) 评论(0) 推荐(0)
 
WPF 模板中的控件修改
摘要: 模板:<ControlTemplate x:Key="HomeBtnNewTemplate" TargetType="{x:Type Button}"> <Grid Width="{TemplateBinding Width}" Background="{TemplateBinding Background}" Height="{TemplateBinding Height}" ClipToBounds="True"> <Rectangle x: 阅读全文
posted @ 2012-03-22 10:19 wangrenzhu 阅读(552) 评论(0) 推荐(0)
 
GC 回收WPF 内存 C#通用
摘要: public class FlushMemory { [DllImport("kernel32.dll")] public static extern bool SetProcessWorkingSetSize(IntPtr proc, int min, int max); /// <summary> /// 释放内存 /// </summary> public static void Flush() { GC.Collect(); GC.WaitForPendingFinalizers(); if (Environment.OSVersion.Pl 阅读全文
posted @ 2012-03-22 10:01 wangrenzhu 阅读(601) 评论(0) 推荐(0)
 
透明BUTTON 模板 WPF
摘要: <ControlTemplate x:Key="NavTemp" TargetType="{x:Type Button}"> <Grid Width="{TemplateBinding Width}" Background="{TemplateBinding Background}" Height="80" ClipToBounds="True"> <Label Content="{TemplateBinding Content}&qu 阅读全文
posted @ 2012-03-22 09:57 wangrenzhu 阅读(289) 评论(0) 推荐(0)
 
 

公告


博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3