ICANN认证国际域名顶级注册机构
网站建设,域名注册,空间租用,软件销售,广告设计 域名注册,空间租用, 网站建设,东莞网页设计,域名注册,网站推广,网站开发,网页设计 网站推广,,百度推广,新浪推广,雅虎推广,网易推广 标志设计,画册设计,包装设计,VI策划,企业形象顾问 连邦软件加盟店,提供销遥行,管家婆,速达,用友ERP,诺顿等软件报价及销售 建站必读 腾达网络,上网帮助中心, 腾达为东莞等地,提供网站建设,网站推广,广告设计,软件销售等优质服务!
建站必读


 
 
当前位置:首页 -> 建站必读 -> .NET技术
C#中TreeView类操作全攻略(二)
using System;

using System.Drawing;

using System.Collections;

using System.ComponentModel;

using System.Windows.Forms;

using System.Data;

using com.prm.client.tools;

using System.Data.OracleClient;

//using com.prm.client.common;



namespace com.prm.client.forms

{

/// <summary>

/// SM_AddNewFunction 的摘要说明。

/// </summary>

public class SM_AddNewFunction: System.Windows.Forms.Form

{

private System.Windows.Forms.Label lbl_Name;

private System.Windows.Forms.TextBox txt_Name;

private System.Windows.Forms.Label lbl_Tag;

private System.Windows.Forms.TextBox txt_Tag;

private System.Windows.Forms.CheckBox ckb_IsInterface;

private System.Windows.Forms.Label lbl_IsInterface;

private System.Windows.Forms.Label lbl_Type;

private System.Windows.Forms.Label lbl_FunEntity;

private System.Windows.Forms.ComboBox cbo_Type;

private System.Windows.Forms.TextBox txt_FunEntity;

private System.Windows.Forms.Label lbl_BelongTo;

private System.Windows.Forms.TextBox txt_BelongTo;

private System.Windows.Forms.TextBox txt_Detail;

private System.Windows.Forms.Label lbl_Detail;

private System.Windows.Forms.Button btn_Confirm;

private System.Windows.Forms.Button btn_Cancel;

private System.Windows.Forms.Button btn_Help;





//用来保存数字字典功能类别的数据

ClientDictionary[] DIC_funcType;

//用来保存Connection属性

private OracleConnection funcTableConn;

//用来保存新增加的记录的主键(功能ID)

private long newFuncID;

//只读属性,用来读取新增加的记录的主键(功能ID)

//public long NewFuncID {get {return newFuncID;}}

//用来保存新增加的功能记录

private FunctionTable newFuncItem;

public FunctionTable NewFuncItem {get {return newFuncItem;}}



/// <summary>

/// 必需的设计器变量。

/// </summary>

private System.ComponentModel.Container components = null;



/// <summary>

/// 构造函数,通过参数dic_funcType对窗口进行初始化值,通过参数fatherID得到

/// 新增加的功能的上级功能ID

/// </summary>

public SM_AddNewFunction(long fatherID,ClientDictionary[] dic_funcType)

{

//

// Windows 窗体设计器支持所必需的

//

InitializeComponent();

newFuncItem=new FunctionTable();

newFuncItem.funcFatherID=fatherID;

//初始化ID为-1,如果新增成功则将重新赋值

newFuncItem.funcID=-1;

DIC_funcType=dic_funcType;

const string VALUEMEMBER="valueMember",DISPLAYMEMBER="displayMember",NULLTEXT="";

cbo_Type.DataSource = DIC_funcType;

cbo_Type.ValueMember = VALUEMEMBER;

cbo_Type.DisplayMember = DISPLAYMEMBER;



DataAccessObject funcTableAccessObject=new DataAccessObject();

funcTableConn=funcTableAccessObject.Connection;

}



/// <summary>

/// 清理所有正在使用的资源。

/// </summary>

protected override void Dispose( bool disposing )

{

if( disposing )

{

if(components != null)

{

components.Dispose();

}

}

base.Dispose( disposing );

}



#region Windows 窗体设计器生成的代码

/// <summary>

/// 设计器支持所需的方法 - 不要使用代码编辑器修改

/// 此方法的内容。

/// </summary>

private void InitializeComponent()

{

System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(SM_AddNewFunction));

this.lbl_Name = new System.Windows.Forms.Label();

this.lbl_Tag = new System.Windows.Forms.Label();

this.lbl_Type = new System.Windows.Forms.Label();

this.lbl_FunEntity = new System.Windows.Forms.Label();

this.lbl_BelongTo = new System.Windows.Forms.Label();

this.txt_Name = new System.Windows.Forms.TextBox();

this.txt_Tag = new System.Windows.Forms.TextBox();

this.cbo_Type = new System.Win
 
 
本站关键词:
| 寮步镇 大岭山 大朗諀 黄江镇 樟木头 凤岗諀 塘厦镇 谢岗镇 清溪諀常平镇 桥头镇 横沥镇|东坑镇 企石镇 石排镇|茶山镇 莞城 东城|万江 南城|东莞网络服务|东莞软件开发|东莞软件设计|东莞主页设计|东莞公司主页|| 寮步镇 大岭山 大朗諀 黄江镇 樟木头 凤岗諀 塘厦镇 谢岗镇 清溪諀常平镇 桥头镇 横沥镇|东坑镇 企石镇 石排镇|茶山镇 莞城 东城|万江 南城|东莞网络服务|东莞软件开发|东莞软件设计|东莞主页设计|东莞公司主页|| 寮步镇 大岭山 大朗諀 黄江镇 樟木头 凤岗諀 塘厦镇 谢岗镇 清溪諀常平镇 桥头镇 横沥镇|东坑镇 企石镇 石排镇|茶山镇 莞城 东城|万江 南城|东莞网络服务|东莞软件开发|东莞软件设计|东莞主页设计|东莞公司主页|| 寮步镇 大岭山 大朗諀 黄江镇 樟木头 凤岗諀 塘厦镇 谢岗镇 清溪諀常平镇 桥头镇 横沥镇|东坑镇 企石镇 石排镇|茶山镇 莞城 东城|万江 南城|东莞网络服务|东莞软件开发|东莞软件设计|东莞主页设计|东莞公司主页|| 寮步镇 大岭山 大朗諀 黄江镇 樟木头 凤岗諀 塘厦镇 谢岗镇 清溪諀常平镇 桥头镇 横沥镇|东坑镇 企石镇 石排镇|茶山镇 莞城 东城|万江 南城|东莞网络服务|东莞软件开发|东莞软件设计|东莞主页设计|东莞公司主页|| 寮步镇 大岭山 大朗諀 黄江镇 樟木头 凤岗諀 塘厦镇 谢岗镇 清溪諀常平镇 桥头镇 横沥镇|东坑镇 企石镇 石排镇|茶山镇 莞城 东城|万江 南城|东莞网络服务|东莞软件开发|东莞软件设计|东莞主页设计|东莞公司主页|| 寮步镇 大岭山 大朗諀 黄江镇 樟木头 凤岗諀 塘厦镇 谢岗镇 清溪諀常平镇 桥头镇 横沥镇|东坑镇 企石镇 石排镇|茶山镇 莞城 东城|万江 南城|东莞网络服务|东莞软件开发|东莞软件设计|东莞主页设计|东莞公司主页|| 寮步镇 大岭山 大朗諀 黄江镇 樟木头 凤岗諀 塘厦镇 谢岗镇 清溪諀常平镇 桥头镇 横沥镇|东坑镇 企石镇 石排镇|茶山镇 莞城 东城|万江 南城|东莞网络服务|东莞软件开发|东莞软件设计|东莞主页设计|东莞公司主页|| 寮步镇 大岭山 大朗諀 黄江镇 樟木头 凤岗諀 塘厦镇 谢岗镇 清溪諀常平镇 桥头镇 横沥镇|东坑镇 企石镇 石排镇|茶山镇 莞城 东城|万江 南城|东莞网络服务|东莞软件开发|东莞软件设计|东莞主页设计|东莞公司主页|| 寮步镇 大岭山 大朗諀 黄江镇 樟木头 凤岗諀 塘厦镇 谢岗镇 清溪諀常平镇 桥头镇 横沥镇|东坑镇 企石镇 石排镇|茶山镇 莞城 东城|万江 南城|东莞网络服务|东莞软件开发|东莞软件设计|东莞主页设计|东莞公司主页|| 寮步镇 大岭山 大朗諀 黄江镇 樟木头 凤岗諀 塘厦镇 谢岗镇 清溪諀常平镇 桥头镇 横沥镇|东坑镇 企石镇 石排镇|茶山镇 莞城 东城|万江 南城|东莞网络服务|东莞软件开发|东莞软件设计|东莞主页设计|东莞公司主页|| 寮步镇 大岭山 大朗諀 黄江镇 樟木头 凤岗諀 塘厦镇 谢岗镇 清溪諀常平镇 桥头镇 横沥镇|东坑镇 企石镇 石排镇|茶山镇 莞城 东城|万江 南城|东莞网络服务|东莞软件开发|东莞软件设计|东莞主页设计|东莞公司主页|| 寮步镇 大岭山 大朗諀 黄江镇 樟木头 凤岗諀 塘厦镇 谢岗镇 清溪諀常平镇 桥头镇 横沥镇|东坑镇 企石镇 石排镇|茶山镇 莞城 东城|万江 南城|东莞网络服务|东莞软件开发|东莞软件设计|东莞主页设计|东莞公司主页|| 寮步镇 大岭山 大朗諀 黄江镇 樟木头 凤岗諀 塘厦镇 谢岗镇 清溪諀常平镇 桥头镇 横沥镇|东坑镇 企石镇 石排镇|茶山镇 莞城 东城|万江 南城|东莞网络服务|东莞软件开发|东莞软件设计|东莞主页设计|东莞公司主页|
域名注册 | 虚拟主机 | 网站建设 | 网站推广 | 广告设计 | 帮助中心 | 软件中心 | 关于腾达
东莞市腾达信息工程有限公司      本站网络实名: 东莞网站建设
地址:东莞市新城市中心区第一国际B座610   邮编:523007
电话:0769-22026071 22026072 传真:0769-22026076 24小时服务热线:13712032014
© 2002~2005 腾达网络   版权所有