c# - 如何知道控件已加载到 .Net Compact Framework、WinForms 应用程序中?

标签 c# compact-framework

如何知道 .Net Compact Framework、WinForms 应用程序中是否加载了控件?

任何想法请...

最佳答案

可以通过

 If Me.IsHandleCreated Then
  ' When winform is loaded
 End If

关于c# - 如何知道控件已加载到 .Net Compact Framework、WinForms 应用程序中?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4378953/

相关文章:

c# - 在 Asp.net MVC 中出现类似 "Object reference is not set to Reference of the Object"的错误

c# - 为什么 Select 会将我的 while 循环变成无限循环?

c# - 文化不敏感 VS 文化敏感

c# - 如何从绑定(bind)到 List<T> 或匿名类型的绑定(bind)源中获取正确的映射名称以用于 DataGridTableStyle?

c# - c#紧凑框架中的Directshow : trigger handling problems for a Filtergraph's IMediaEvent

c# - Roslyn 内存中代码的静态代码分析

c# - 如何捕获 OutlookContact.Write 事件?

c# - 从 native 调用 C# 来检索字符串

c# - 在 SQLCe 数据库中存储对象的最有效方法是什么?

testing - 自动化 GUI 测试 .NET CF (Windows Mobile 5)