2011年7月17日
摘要: GridLookUpEdit 默认只按displayValue 的值进行自动匹配,以下通过自定义可以实现多列自动匹配Code和name 是列名。 void gridLookUpEdit1_Popup(object sender, EventArgs e) { FilterLookup(sender); } private void FilterLookup(object sender) { Text += " ! "; GridLookUpEdit edit = sender as GridLookUpEdit; GridView gridView = edit.Prope 阅读全文
posted @ 2011-07-17 09:17 高原之上 阅读(2686) 评论(0) 推荐(2) 编辑
  2008年11月19日
摘要: 一:使用js CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Collections.Generic;using System.Text;using System.Web.UI.WebCo... 阅读全文
posted @ 2008-11-19 23:49 高原之上 阅读(536) 评论(0) 推荐(0) 编辑
  2008年9月30日
摘要: BarManager AllowShowToolbarsPopup : 是否允许在bar上显示右键菜单; Bar UseWholeRow : 是否允许bar填充整行; 阅读全文
posted @ 2008-09-30 21:11 高原之上 阅读(480) 评论(0) 推荐(0) 编辑
  2008年8月29日
摘要: InstallShield 不在控制面板中显示卸载项 Hide Add/Remove Panel Entry 阅读全文
posted @ 2008-08-29 15:50 高原之上 阅读(505) 评论(0) 推荐(0) 编辑
  2008年8月28日
摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->RegDBGetKeyValueEx 语法:RegDBGetKeyValueEx (szKey, szName, nvType, svValue, nvSize); 说明:RegDBGetKe... 阅读全文
posted @ 2008-08-28 11:52 高原之上 阅读(730) 评论(0) 推荐(0) 编辑
  2008年8月19日
摘要: 1, 强烈推荐:240多个jQuery插件 2, 收集一些基于jQuery框架开发的控件/jquery插件 阅读全文
posted @ 2008-08-19 20:14 高原之上 阅读(294) 评论(0) 推荐(0) 编辑
  2008年8月18日
摘要: 点击下一步会提示你下载.net 2.0 在下载对话框中选择下面两项: 然后下一步,确定 将 2052langpack20.exe(简体中文语言包)拷贝到目录Macrovision\IS12\Redist\0804\i386下 阅读全文
posted @ 2008-08-18 15:39 高原之上 阅读(581) 评论(2) 推荐(0) 编辑
  2008年7月23日
摘要: jQuery实例CSS 样式表动态选择本实例主要说的还是jquery的选择器,关于jquery的css的一些知识用类似 $("li").css("cursor","pointer"); 这样的方式来确定 代码: 阅读全文
posted @ 2008-07-23 22:07 高原之上 阅读(1714) 评论(1) 推荐(0) 编辑
摘要: jQuery的选择器是CSS 1-3,XPath的结合物。jQuery提取这二种查询语言最好的部分,融合后创造出了最终的jQuery表达式查询语言。如果你了解CSS(绝大部分WEB开发者都用到的),那么你学起来就很容易了。 阅读全文
posted @ 2008-07-23 22:06 高原之上 阅读(928) 评论(1) 推荐(0) 编辑
  2008年7月21日
摘要: 修改.ini文件,安装后没有生效 阅读全文
posted @ 2008-07-21 20:04 高原之上 阅读(575) 评论(1) 推荐(0) 编辑
  2008年7月7日
摘要: ASPxPopupControl 控件改变大小时,希望此控件Controls中包含的控件或内容的大小自动适应,应该设置此控件的ResizingMode为Postponed,默认为Live 阅读全文
posted @ 2008-07-07 19:51 高原之上 阅读(525) 评论(1) 推荐(0) 编辑
  2008年3月21日
摘要: 1//启动mysqld.exe 2 //Start 3 szMysqldPro=INSTALLDIR^"Data\\mysql\\bin\\mysqld.exe"; 4 SdShowMsg("正在启动Mysql,请稍候",TRUE); 5 Delay(1); 6 if(LaunchApp(szMysqldPro,"")<0) then 7 ... 阅读全文
posted @ 2008-03-21 16:29 高原之上 阅读(258) 评论(0) 推荐(0) 编辑
  2008年3月11日
摘要: Windows (R) Installer. V 3.01.4000.3959 msiexec /Option [Optional Parameter] 安装选项 安装或配置产品 /a 管理安装 - 在网络上安装产品 /j [/t ] [/g ] 播发产品 - m 播发到所有用户,u 播发到当前用户 卸载产品 显示选项 /quiet 安静模式,无用户交... 阅读全文
posted @ 2008-03-11 10:45 高原之上 阅读(1167) 评论(0) 推荐(0) 编辑
摘要: EX: //安装mysql connect //Start szProgram=WINSYSDIR^"msiexec.exe"; szCmdLine="/i \""+INSTALLDIR^"mysqlConnectorNet512.msi\" /passive"; RegDBSetDefaultRoot(HKEY_LOCAL_MACHINE); ... 阅读全文
posted @ 2008-03-11 10:43 高原之上 阅读(776) 评论(0) 推荐(0) 编辑
  2008年2月26日
摘要: 原文出处:InstallShield 中文论坛 原文地址:http://installshield.jaron.cn/forum/dispbbs.asp?boardID=17&ID=284510&page=1 尊重他人劳动成果,转载请注明出处 1、 问题描述:采用何种安装模式? 实现方法:如果对用户界面等自定义要求不高的话,建议用Basic Msi Project,否则用Inst... 阅读全文
posted @ 2008-02-26 11:21 高原之上 阅读(301) 评论(0) 推荐(0) 编辑
摘要: 一、问题:生成安装包时installshield程序出现错误关闭 解决:安装InstallShield 12 系列支持扩展库 二、问题:安装时修改.config文件后xml文件版本被修改 解决:1>、安装sp2补丁 2>、Installation Designer页面 -> Behavior and Logic -> Property Manager... 阅读全文
posted @ 2008-02-26 10:47 高原之上 阅读(189) 评论(0) 推荐(0) 编辑
摘要: installshield 12 下载地址:http://lib.verycd.com/2006/10/07/0000122976.html sp2补丁:http://pack.bangchui.net/viewthread.php?tid=70&extra=page%3D1 InstallShield 12 系列支持扩展库:http://www.bangchui.net/viewthread.p... 阅读全文
posted @ 2008-02-26 10:38 高原之上 阅读(194) 评论(0) 推荐(0) 编辑
  2007年10月23日
摘要: ServiceController 类详细介绍 //如果此服务存在 if (checkService()) { ServiceController sc = new ServiceController("mysql"); //mysql服务是否已启动,是,则停止 ... 阅读全文
posted @ 2007-10-23 17:18 高原之上 阅读(612) 评论(0) 推荐(0) 编辑
摘要: Process类详细介绍 1 //用msiexec.exe执行一个安装程序 2 string fileName = setupPath + "Installer.msi"; 3 Process p = new Process(); 4 p.StartInfo.FileName = "msiexec... 阅读全文
posted @ 2007-10-23 16:49 高原之上 阅读(538) 评论(0) 推荐(0) 编辑
  2007年9月12日
摘要: //如果当前正在排序的列是regID,那么sortIndex的值为0,否则为-1 int sortIndex = this.gridView1.Columns["regID"].SortIndex; //获得当前正在排序的列 GridColumn sortColumn = this.gridView1.SortedColu... 阅读全文
posted @ 2007-09-12 11:27 高原之上 阅读(407) 评论(0) 推荐(0) 编辑
  2007年9月5日
摘要: //按界面上显示出来的值查询 gridView1.LocateByDisplayText(); //按数据源中的原值查询 gridView1.LocateByValue(); //上面两个方法返回的都是目标项的 RowHandle; 若没有找到,则返回-9999. ... 阅读全文
posted @ 2007-09-05 17:16 高原之上 阅读(2384) 评论(1) 推荐(0) 编辑
  2007年8月29日
摘要: 1//鼠标右击节点时该节点获得焦点,同时指定TreeList的ContextMenuStrip ; 2private void treelArea_MouseDown(object sender, MouseEventArgs e) 3 { 4 TreeListHitInfo hitInfo = (sender as TreeList).CalcHitInfo(new Poi... 阅读全文
posted @ 2007-08-29 15:00 高原之上 阅读(1247) 评论(1) 推荐(0) 编辑
摘要: 1 ///treeLArea : TreeList; 2 ///imglChecked : ImageList; 3 /// 4 /// 5 6 //指定StateImageList 7 this.treelArea.StateImageList = this.imglChecked; 8 9 //treelArea的GetStateImage事件处理程... 阅读全文
posted @ 2007-08-29 14:24 高原之上 阅读(1606) 评论(0) 推荐(0) 编辑
  2007年8月28日
摘要: /**//// 给TreeList加SelectImage this.treelArea.SelectImageList = imglCustom; /**//// /// 去掉选中节点时的虚框 this.treelArea.OptionsView.ShowFocusedFrame; /**//// /// 设置选... 阅读全文
posted @ 2007-08-28 15:49 高原之上 阅读(1268) 评论(1) 推荐(0) 编辑
摘要: 1 /**/////显示网格 2 treeList1.OptionsView.ShowVertLines = true; 3 treeList1.OptionsView.ShowHorzLines = true; 4 5 /**////NodeButton与节点的第一列间的距离 6 this.treeLPro.TreeLevelWidth = 20; 阅读全文
posted @ 2007-08-28 13:48 高原之上 阅读(640) 评论(0) 推荐(0) 编辑
  2007年8月24日
摘要: 1int press = 0; 2 int dept=1; 3 this.repositoryItemProgressBar1.Maximum =100; 4 this.repositoryItemProgressBar1.Minimum = 0; 5 for (int i = 0; i < 100; i++) 6 { 7 this.ba... 阅读全文
posted @ 2007-08-24 11:50 高原之上 阅读(1362) 评论(2) 推荐(0) 编辑
摘要: /**//// /// 拖曳节点并保存结果 /// /// /// private void treelArea_DragDrop(object sender, DragEventArgs e) { TreeListNode fNode; TreeListNode tNode; string parentId; string regId; try ... 阅读全文
posted @ 2007-08-24 10:00 高原之上 阅读(607) 评论(1) 推荐(0) 编辑
摘要: 1/**//// 2 /// TreeList 绘制NodeButton事件的处理程序 3 /// imglCustom是一个imagelist 有两个图标,如果当前节点是展开的则显示第一个图标,否则显示第二个图标 4 /// 5 /// 6 /// 7 private void treeList1_CustomDrawNodeButton(object sender... 阅读全文
posted @ 2007-08-24 09:54 高原之上 阅读(455) 评论(0) 推荐(0) 编辑
摘要: 1/**//// 2 /// 初始化GridView,绑定数据 3 /// 4 /// 5 private void GridViewBindData(string parentId) 6 { 7 this.gridView1.Columns.Clear(); 8 this.FDs= areaSetupActionHelper.getDs... 阅读全文
posted @ 2007-08-24 09:31 高原之上 阅读(2913) 评论(10) 推荐(0) 编辑
摘要: 设置行标头的宽度: 外观->IndicatorWidth 阅读全文
posted @ 2007-08-24 09:25 高原之上 阅读(406) 评论(0) 推荐(0) 编辑
摘要: gridview有一个CustomDrawRowIndicator事件 示例如下: 1 if (e.Info.IsRowIndicator && e.RowHandle >= 0) 2 { 3 e.Info.DisplayText = (e.RowHandle + 1).ToString().Trim(); 4 } 阅读全文
posted @ 2007-08-24 09:19 高原之上 阅读(1110) 评论(0) 推荐(0) 编辑