Windows窗体句柄描述 [英] Windows Form Handles Description

查看:259
本文介绍了Windows窗体句柄描述的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请在窗体表格中解释加注时的问题以及我们使用它们的情况

例如me.load句柄在准备显示时赢得表格

请解释其他句柄例如说me.Shown和me.load句柄之间的区别

Please explain in the windows form handles when raises and for what we use them
for example me.load handles raise when win form preparing to show
please explain other handles for example say what is different between me.Shown and me.load handles

推荐答案

你引用的'Handles'实际上是事件 - 带<$的方法c $ c>句柄附加了处理事件的方法。



加载表单加载完成后发生事件。这意味着它已在内存中创建。直到显示 ShowDialog 被调用(直接或间接),它将不可见。第一次实际显示时会引发显示的事件。



对于框架中的所有类,使用VS中的MSDN和/或对象查看器来查找您感兴趣的任何事件。
The 'Handles' you refer to are actually events - the methods with the Handles appended are the methods that handle the events.

The Load event occurs when a form has finished loading. This means it has been created in memory. Until Show or ShowDialog is called (directly or indirectly) it will not be visible. The Shown event is raised when it is first actually shown.

For all classes that are in the framework, use MSDN and/or Object Viewer in VS to look up any events you are interested in.


请链接MSDN上的页面Aboute Windows窗体的处理程序
please link the page on MSDN Aboute the handler of windows form


我找到答案表格句柄


这篇关于Windows窗体句柄描述的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆