wpf
文章平均质量分 84
大地缸
这个作者很懒,什么都没留下…
展开
-
Wpf 计时器
计时器 源代码using System;using System.Windows;using System.Windows.Threading;namespace WpfStopWatch{ /// /// MainWindow.xaml 的交互逻辑 /// public partial class MainWindow :原创 2013-01-11 21:05:14 · 1643 阅读 · 1 评论 -
C# 提取汉字
C# 提取汉字C# 提取字符串中汉字方法 protected string getChinese(string str) { string mystr = "", ResultString=""; for (int i = 0; i < str.Length - 1; i++)转载 2013-01-12 20:29:08 · 1459 阅读 · 0 评论 -
C# Kernel32 导出函数
/// /// Kernel32导出函数 /// public class Kernel32 { [DllImport("KERNEL32.DLL ")] public static extern IntPtr CreateToolhelp32Snapshot(uint flags, uint processid);原创 2013-01-12 10:24:36 · 1721 阅读 · 0 评论 -
Wpf 遍历系统进程 C#
Kernel32 http://点击打开链接using System.Collections.Generic;using System.Linq;using System.Runtime.InteropServices;using System.Text;using System.Windows;using System.Windows.Controls;using S原创 2013-01-12 10:26:56 · 1003 阅读 · 0 评论 -
C# 导出Word文档中的所有图片
using System;using System.Drawing;using System.IO;using System.Windows.Forms;using NPOI.POIFS.FileSystem;using NPOI.XWPF.Extractor;using NPOI.XWPF.UserModel;namespace WordPictureExport{ p原创 2013-01-12 09:55:12 · 1310 阅读 · 1 评论