[登录]
[注册]
论坛首页
班级日历
淘宝购买
学员作品
本杰.NET
»
.NET技术讨论
»
WinForm
»
这样的话,我们拖控件的动作,就变成半自动代码生成了
.NET培训教程
[本杰.NET]1002班
[本杰.NET]1001班
[本杰.NET]0901班
[本杰.NET]学员就业
终身学员资源发布及交流
.NET技术讨论
C#
WinForm
.NET Framework
SQL Server
DHTML
ASP.NET
ADO.NET
UML
DesignPattern
WebService
AJAX
就业面试
这样的话,我们拖控件的动作,就变成半自动代码生成了
[
1393
查看 /
2
回复 ]
返回列表
发送短消息
UID
29
精华
6
威望
13395
金钱
11030 元
技术指数
4282 点
查看公共资料
搜索帖子
shenyoujia
陈健
组别
管理员
性别
积分
14848
帖子
1423
注册时间
2009-11-07
shenyoujia
2010-05-05 10:40
|
只看楼主
1
#
字体大小:
t
T
介于手工写代码和全自动代码生成中间。。
我们拖放一个控件,就会在那个根据模板自动生成的designer.cs中加入我们拖的控件。双击那个控件时,就在这个文件中进行相关的事件注册 代码自动生成 。
TOP
发送短消息
UID
29
精华
6
威望
13395
金钱
11030 元
技术指数
4282 点
查看公共资料
搜索帖子
shenyoujia
陈健
组别
管理员
性别
积分
14848
帖子
1423
注册时间
2009-11-07
shenyoujia
2010-05-05 10:41
|
只看楼主
2
#
字体大小:
t
T
namespace [!output NAMESPACE]
{
partial class [!output SAFE_ITEM_NAME]
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if(disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
}
#endregion
}
}
复制代码
TOP
发送短消息
UID
29
精华
6
威望
13395
金钱
11030 元
技术指数
4282 点
查看公共资料
搜索帖子
shenyoujia
陈健
组别
管理员
性别
积分
14848
帖子
1423
注册时间
2009-11-07
shenyoujia
2010-05-05 10:43
|
只看楼主
3
#
字体大小:
t
T
这样看图是否更清晰一点
附件:
您所在的用户组无法下载或查看附件
TOP
返回列表
上一主题
|
下一主题
发新主题
.NET培训教程
[本杰.NET]1002班
[本杰.NET]1001班
[本杰.NET]0901班
[本杰.NET]学员就业
终身学员资源发布及交流
.NET技术讨论
C#
WinForm
.NET Framework
SQL Server
DHTML
ASP.NET
ADO.NET
UML
DesignPattern
WebService
AJAX
就业面试
C#
.NET Framework
0901班-ERP之OA
[本杰.NET]1002班
DesignPattern
[本杰.NET]1001班
[本杰.NET]学员就业
本杰.NET软件工程师
ADO.NET
就业面试
帖子标题
作者
我的资料