WPF消息通知系统托盘,图标闪烁 1 using System.Windows.Forms; 2 3 using System.Windows.Threading; 4 5 public partial class Window : Window 6 { ...
分类:
其他好文 时间:
2014-07-09 23:19:32
阅读次数:
307
usingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.Text;usingSystem.Windows.Forms...
分类:
其他好文 时间:
2014-07-09 15:58:13
阅读次数:
213
usingSystem;usingSystem.Drawing;usingSystem.Collections;usingSystem.ComponentModel;usingSystem.Windows.Forms;usingSystem.Data;usingSystem.IO;namespace...
分类:
其他好文 时间:
2014-07-09 15:48:18
阅读次数:
177
新建一个继承自TreeView的控件类,代码如下:using System;using System.Windows.Forms;using System.Drawing;using System.Runtime.InteropServices;namespace SenseTreeView{ .....
分类:
Windows程序 时间:
2014-07-09 15:41:52
阅读次数:
5460
主要是想将以前的lisp程序整合到现在的.net菜单中才会这么干的using Autodesk.AutoCAD.Windows;using Autodesk.AutoCAD.Runtime;using System.Windows.Forms;using Autodesk.AutoCAD.Datab...
分类:
Web程序 时间:
2014-07-09 14:51:38
阅读次数:
208
首先,自定义一个类ListViewNF,继承自System.Windows.Forms.ListViewusing System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Win...
分类:
其他好文 时间:
2014-07-07 11:41:58
阅读次数:
213
关键代码: /// /// 代码源自:http://www.codeproject.com/Articles/20379/Disabling-Close-Button-on-Forms /// private const int CP_NOCLOSE_BUTTON = 0x200; protecte...
方法Application.AddMessageFilternamespace System.Windows.Forms{ // 摘要: // 定义消息筛选器接口。 public interface IMessageFilter { // 摘要: ...
分类:
其他好文 时间:
2014-07-04 00:05:06
阅读次数:
254
题目大意:
求出在m个串中出现过大于m/2次的子串。
思路分析:
如果你只是直接跑一次后缀数组,然后二分答案扫描的话。
那么就试一下下面这个数据。
2
abcdabcdefgh
efgh
这个数据应该输出
efgh
问题就在于对于每一个串,都只能参与一次计数,所以在check的时候加一个标记数组是正解。
#include
#include
#inc...
分类:
其他好文 时间:
2014-07-03 15:35:12
阅读次数:
171
方法一:protected override void OnKeyUp(System.Windows.Forms.KeyEventArgs e) { base.OnKeyUp(e); if (e.KeyCode == System.Windo...
分类:
移动开发 时间:
2014-07-03 12:30:17
阅读次数:
293