最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
一个简单的代码生成“器”
时间:2008-01-12 编辑:简简单单 来源:一聚教程网
'//在比较大的数据库操作时,对字段操作有好多变量、属性、函数的类似的重复性的大量代码
'//如果一个个来重写,确是令人烦躁的事,因此自己弄了一个小程序作这部分工作。
Public Class FrmPropertyCode
Inherits System.Windows.Forms.Form
#Region " Windows 窗体设计器生成的代码 "
Public Sub New()
MyBase.New()
'该调用是 Windows 窗体设计器所必需的。
InitializeComponent()
'在 InitializeComponent() 调用之后添加任何初始化
Initialize()
End Sub
'窗体重写 dispose 以清理组件列表。
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
components.Dispose()
End If
End If
MyBase.Dispose(disposing)
End Sub
'Windows 窗体设计器所必需的
Private components As System.ComponentModel.IContainer
'注意: 以下过程是 Windows 窗体设计器所必需的
'可以使用 Windows 窗体设计器修改此过程。
'不要使用代码编辑器修改它。
Friend WithEvents VariableTextBox As System.Windows.Forms.TextBox
Friend WithEvents CodeTextBox As System.Windows.Forms.TextBox
Friend WithEvents PropertyComboBox As System.Windows.Forms.ComboBox
Friend WithEvents PropertyTextBox As System.Windows.Forms.TextBox
Friend WithEvents SavePropertyButton As System.Windows.Forms.Button
Friend WithEvents BuildCodeButton As System.Windows.Forms.Button
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents Label4 As System.Windows.Forms.Label
-
上一个: 让我们用中文编程
-
下一个: 如何 动态编译自己写的代码
相关文章
- SpringBoot测试配置属性与web启动环境解析 10-24
- vue中将el-switch值true、false改为number类型的1和0解析 10-24
- Vue中的路由配置项meta使用解读 10-24
- SpringBoot自定义bean绑定解析 10-24
- SpringBoot常用计量与bean属性校验和进制数据转换规则解析 10-24
- 工厂方法在Spring框架中的运用介绍 10-24