摘要:
SortedList 类代表了一系列按照键来排序的键/值对,这些键值对可以通过键和索引来访问。 排序列表是数组和哈希表的组合。它包含一个可使用键或索引访问各项的列表。如果您使用索引访问各项,则它是一个动态数组(ArrayList),如果您使用键访问各项,则它是一个哈希表(Hashtable)。集合中 阅读全文
posted @ 2021-01-02 20:04
MaxBruce
阅读(422)
评论(3)
推荐(0)
摘要:
反射指程序可以访问、检测和修改它本身状态或行为的一种能力。 程序集包含模块,而模块包含类型,类型又包含成员。反射则提供了封装程序集、模块和类型的对象。 您可以使用反射动态地创建类型的实例,将类型绑定到现有对象,或从现有对象中获取类型。然后,可以调用类型的方法或访问其字段和属性。 优缺点 优点: · 阅读全文
posted @ 2021-01-02 19:44
MaxBruce
阅读(216)
评论(0)
推荐(0)
摘要:
xml code <Page x:Class="MyApp.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/ 阅读全文
posted @ 2021-01-02 19:06
MaxBruce
阅读(96)
评论(0)
推荐(0)
摘要:
xml code <Page x:Class="MyApp.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/ 阅读全文
posted @ 2021-01-02 18:30
MaxBruce
阅读(106)
评论(0)
推荐(0)
摘要:
C# code 后台任务 public sealed class BgTask : IBackgroundTask { #region 私有字段 SystemMediaTransportControls mdcontrol = null; BackgroundTaskDeferral deferra 阅读全文
posted @ 2021-01-02 15:27
MaxBruce
阅读(285)
评论(0)
推荐(0)
摘要:
xml code <Page x:Class="MyApp.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/ 阅读全文
posted @ 2021-01-02 14:24
MaxBruce
阅读(85)
评论(0)
推荐(0)
摘要:
xml <Page x:Class="MyApp.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/ 阅读全文
posted @ 2021-01-02 13:54
MaxBruce
阅读(92)
评论(0)
推荐(0)
摘要:
xml code <Page x:Class="MyApp.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/ 阅读全文
posted @ 2021-01-02 12:19
MaxBruce
阅读(245)
评论(0)
推荐(0)
摘要:
xml <Page x:Class="MyApp.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/ 阅读全文
posted @ 2021-01-02 12:08
MaxBruce
阅读(120)
评论(0)
推荐(0)
摘要:
虽说输入法不是什么新事物,各种语言版本都有,不过在C#不常见;这就会给人一种误会:C#不能做!其实C#能不能做呢,答案是肯定的——三种方式都行:IMM、TSF以及外挂式。IMM这种就是调windows的一些底层api,不过在新版本的windows中基本上已经不能用了,属于一种过时的操作方式。TSF是 阅读全文
posted @ 2021-01-02 09:31
MaxBruce
阅读(272)
评论(0)
推荐(0)

浙公网安备 33010602011771号