首先,自定义一个类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...
解决方案1:在project build path中先移除JRE System Library,再添加库JRE System Library,重新编译后就一切正常了。 解决方案2:Windows -> Preferences -> Java -> Compiler -> Errors/Warning...
分类:
其他好文 时间:
2014-07-06 15:01:09
阅读次数:
168
Publishing failed with multiple errors在使用eclipse发布项目时不能自动生成class文件,且无法启动调试的Tomcat服务。启动过程提示 以上 异常解决方案:刷新工程即可问题产生原因:使用了 转码工具对代码进行格式转换,后启动就提起Publishing f...
分类:
其他好文 时间:
2014-07-05 18:38:23
阅读次数:
239
??
PAC成本更新事务处理
DECLARE
l_itfs_rec mtl_transactions_interface% ROWTYPE;
BEGIN
--插入接口表
SELECT mtl_material_transactions_s.nextval
INTO l_txn_header_id
FROM dual;
v_date ...
分类:
其他好文 时间:
2014-07-04 09:28:03
阅读次数:
791
??
新增和更新价目表行
--目的:在已有的价目表头基础上,增加行信息
--限制:该api有些问题,如果强制增加头信息,会有很多问题,所以该例子只是在已有头信息基础上,增加行信息
--需要手动传参的部分:见注释
--注意事项:无需模拟登陆
DECLARE
p_list_header_id NUMBER(10 );
p_inventory_i...
分类:
其他好文 时间:
2014-07-04 08:28:21
阅读次数:
322
方法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
unit Unit1;interfaceuses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, ...
分类:
其他好文 时间:
2014-07-02 19:11:48
阅读次数:
202