码迷,mamicode.com
首页 >  
搜索关键字:forms    ( 2772个结果
WPF 系统托盘 图标闪烁
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
C# 仿百度自动匹配
usingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.Text;usingSystem.Windows.Forms...
分类:其他好文   时间:2014-07-09 15:58:13    阅读次数:213
C# 实现预览dwg文件完整源代码(无需autocad环境)
usingSystem;usingSystem.Drawing;usingSystem.Collections;usingSystem.ComponentModel;usingSystem.Windows.Forms;usingSystem.Data;usingSystem.IO;namespace...
分类:其他好文   时间:2014-07-09 15:48:18    阅读次数:177
WinForm的TreeView实现Win7 Areo效果
新建一个继承自TreeView的控件类,代码如下:using System;using System.Windows.Forms;using System.Drawing;using System.Runtime.InteropServices;namespace SenseTreeView{ .....
分类:Windows程序   时间:2014-07-09 15:41:52    阅读次数:5460
cad中在c#.net中加载lisp程序的方法
主要是想将以前的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
C#:使用ListView动态添加数据一直闪烁的解决办法
首先,自定义一个类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
[WinForm]使关闭按钮不可用或隐藏
关键代码: /// /// 代码源自:http://www.codeproject.com/Articles/20379/Disabling-Close-Button-on-Forms /// private const int CP_NOCLOSE_BUTTON = 0x200; protecte...
分类:Windows程序   时间:2014-07-07 09:33:54    阅读次数:254
拦截系统消息
方法Application.AddMessageFilternamespace System.Windows.Forms{ // 摘要: // 定义消息筛选器接口。 public interface IMessageFilter { // 摘要: ...
分类:其他好文   时间:2014-07-04 00:05:06    阅读次数:254
POJ 3294 Life Forms (后缀数组)
题目大意: 求出在m个串中出现过大于m/2次的子串。 思路分析: 如果你只是直接跑一次后缀数组,然后二分答案扫描的话。 那么就试一下下面这个数据。 2 abcdabcdefgh efgh 这个数据应该输出 efgh 问题就在于对于每一个串,都只能参与一次计数,所以在check的时候加一个标记数组是正解。 #include #include #inc...
分类:其他好文   时间:2014-07-03 15:35:12    阅读次数:171
窗体DataGridView控件中按回车键时,单元格向下移动,如何能改成向右移动
方法一:protected override void OnKeyUp(System.Windows.Forms.KeyEventArgs e) { base.OnKeyUp(e); if (e.KeyCode == System.Windo...
分类:移动开发   时间:2014-07-03 12:30:17    阅读次数:293
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!