![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C#
小棋学编程
这个作者很懒,什么都没留下…
展开
-
【C#控件专题二】BackGroundWorker控件使用
BackGroundWorker实际上是一个异步的事件进度控制控件,通常结合进度条ProgressBar一起使用,如下测试源码using System;using System.Collections;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System...原创 2020-04-18 14:22:16 · 751 阅读 · 0 评论 -
【C#控件专题一】C#控件基类Component与IContainer的配合使用
关于IContainer 接口在如下MSDN中有一段代码的解释https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.icontainer?redirectedfrom=MSDN&view=netframework-4.8//This code segment implements the IContai...原创 2020-04-18 13:49:00 · 3932 阅读 · 0 评论 -
为什么C#的System.Object的GetType函数可以拿到当前实例的类型
为什么C#中通过System.Object的GetType函数可以拿到当前实例的类型本文摘自《CLR via C# 第4版》的中文译本92-97页。该书由Jeffrey Richter编写。该书下载链接见如下小编的资源链: https://download.csdn.net/download/tanjiaqi2554/10504069要解答以上的问题,首先你得知道,对于C#的CLR来说,所有类型...原创 2018-06-27 22:23:04 · 1794 阅读 · 0 评论