现在的位置: 首页 > 综合 > 正文

FORM 的 oncreate,onshow,onclose,ondestroy 事件对应 C#

2013年05月31日 ⁄ 综合 ⁄ 共 281字 ⁄ 字号 评论关闭

oncreate --- HandleCreated
onshow --- Load
onclose --- Closing
ondestroy --- HandleDestroyed 
///////////////////////////////////////////////////////////////////////
public Form1()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();

}
onshow:
Load事件
onclose:Closing事件
ondestroy:Closed事件

抱歉!评论已关闭.