摘要:
using System.Drawing; using System.Drawing.Drawing2D; public Image CreateTextImage(string text, Font font, Color backgroundColor, Color foreColor, int 阅读全文
posted @ 2022-04-12 22:45
Bridgebug
阅读(181)
评论(0)
推荐(0)
摘要:
当使用BinaryFormatter进行序列化时实现深复制时,发现如果对象带有公共事件时,会引起报错。 using System.IO; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters 阅读全文
posted @ 2022-04-12 22:45
Bridgebug
阅读(77)
评论(0)
推荐(0)
摘要:
一元运算符 ! 取非 set /a a=1 set /a b=!a rem b=0 0取非为1,其他值取非为0 ~ 取反 set /a a=1 set /a b=~a rem b=-2 - 取负 set /a a=1 set /a b=-a rem b=-1 算数运算符 + 求和 set /a a= 阅读全文
posted @ 2022-04-12 22:45
Bridgebug
阅读(162)
评论(0)
推荐(0)
摘要:
using System; using System.Collections.Generic; using System.Linq; static class ExtensionMethod { public static IEnumerable<T> Random<T>(this IEnumera 阅读全文
posted @ 2022-04-12 22:45
Bridgebug
阅读(264)
评论(0)
推荐(0)
摘要:
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System 阅读全文
posted @ 2022-04-12 22:45
Bridgebug
阅读(137)
评论(0)
推荐(0)
摘要:
1.IValueConverter 接口 提供将自定义逻辑应用于绑定的方法。 using System; using System.Globalization; using System.IO; using System.Windows.Data; using System.Windows.Medi 阅读全文
posted @ 2022-04-12 22:45
Bridgebug
阅读(110)
评论(0)
推荐(0)

浙公网安备 33010602011771号