上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 28 下一页

2017年7月15日

CDM中遍历域及其约束条件、取值范围、引用它的项目

摘要: Option ExplicitValidationMode = TrueInteractiveMode = im_BatchDim mdl '当前model'获取当前活动modelSet mdl = ActiveModelIf (mdl Is Nothing) Then MsgBox "There 阅读全文

posted @ 2017-07-15 18:29 mol1995 阅读(810) 评论(0) 推荐(0) 编辑

2017年7月14日

PowerDesignerPDM中搜寻表名或字段名

摘要: Option Explicit ValidationMode = True InteractiveMode = im_Batch Dim mdl '当前model '获取当前活动model Set mdl = ActiveModel If (mdl Is Nothing) Then MsgBox " 阅读全文

posted @ 2017-07-14 11:13 mol1995 阅读(1789) 评论(0) 推荐(0) 编辑

2017年7月10日

PowerDesigner中批量替换name和code的脚本

摘要: 无论是cdm还是pdm都可以批量替换、处理。可在Tool-Execute commands-Edit/Run script中编辑运行脚本: 下面的脚本是批量将CDM中实体的用Code替换掉Name Option Explicit ValidationMode = True InteractiveMo 阅读全文

posted @ 2017-07-10 14:13 mol1995 阅读(3220) 评论(0) 推荐(0) 编辑

2017年7月4日

PD中更改显示Name还是Code的设置

摘要: 菜单->Tool->Model Options->Name Convention->右侧display中选择显示name还是code。 此外,在16版中,还可以通过Tool-DisplayPreference-Table-Advantage 设置code和name同时显示 阅读全文

posted @ 2017-07-04 17:07 mol1995 阅读(843) 评论(0) 推荐(0) 编辑

2017年6月5日

将界面最小化到系统托盘的完整步骤

摘要: 1、界面上拖拽添加NotifyIcon控件 notifyIcon1 2、为此控件设置图标 3、添加主界面最小化事件 private bool notifyiconHasInitialzed=false;//此变量用于控制避免重复执行后面的初始化函数 private void MF_SizeChang 阅读全文

posted @ 2017-06-05 10:19 mol1995 阅读(2740) 评论(0) 推荐(0) 编辑

2017年5月1日

新建 FrameMaker API 时引用目录的设置

摘要: 如果将FDK安装目录下的Sample项目拷贝到其它目录编译,往往会报错 c1083 找不到fapi.h等头文件,或者Link时报错找不到.lib文件。 1.可通过菜单-项目-xxx属性-配置属性-c/c++-常规-附加包含目录中填入安装目录C:\Program Files (x86)\Adobe\F 阅读全文

posted @ 2017-05-01 20:56 mol1995 阅读(803) 评论(0) 推荐(0) 编辑

2017年4月1日

如何同时打开两个UltraEdit

摘要: 高级—配置—应用程序布局—其它,勾上资源管理器选的文件将以独立的UltraEdit打开和允许多个UltraEdit 阅读全文

posted @ 2017-04-01 10:08 mol1995 阅读(1501) 评论(0) 推荐(0) 编辑

2017年3月27日

26进制数与10进制数互转(字母和数字互换)

摘要: public class Twenty_six_Sys { private static string[] Level = {"A", "B", "C", "D", "E", "F", "G","H", "I", "G", "K", "L", "M", "N", "O", "P" 阅读全文

posted @ 2017-03-27 15:47 mol1995 阅读(1188) 评论(0) 推荐(0) 编辑

Oracle表中添加外键约束

摘要: 添加主键约束: ALTER TABLE GA_AIRLINE ADD CONSTRAINT PK_AIRLINE_ID PRIMARY KEY(AIRLINE_ID); 有三种形式的外键约束: 1、普通外键约束(如果存在子表引用父表主键,则无法删除父表记录) 2、级联外键约束(可删除存在引用的父表记 阅读全文

posted @ 2017-03-27 09:58 mol1995 阅读(40671) 评论(0) 推荐(1) 编辑

2017年3月26日

DataGrid 单元格输入验证 由ValidatingEditor事件完成

摘要: private void gdv_reguline_ValidatingEditor(object sender, DevExpress.XtraEditors.Controls.BaseContainerValidateEditorEventArgs e) { int col = ((DevExp 阅读全文

posted @ 2017-03-26 15:23 mol1995 阅读(2211) 评论(0) 推荐(0) 编辑

上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 28 下一页

导航