05 2021 档案
摘要:AppleScript:applescript set myName to "John" -- set objectVar to "string" copy 33 to myAge -- copy inVar to "outVar" tell application "Finder" set sav
阅读全文
摘要:本人实在是太懒了,实在是不想引用DLL 所以自定义 MyTextBlock , 使用其MouseLeftClick来触发ICommand namespace MyControls20210528 { class MyTextBlock : TextBlock, ICommandSource { pu
阅读全文
摘要:WPF 错误:Must create DependencySource on same Thread as the DependencyObject 先看数据模型类吧 public class MessageInfo { public string Message { get; set; } pub
阅读全文
摘要:本文讨论C#中bool类型在位运算符 &(与运算) 和 |(或运算)的结果 &(与运算)在数值中运算的过程是先把 数字 转换成二进制, 同位均为1 则该位为1 |(或运算)在数值中运算的过程是先把 数字 转换成二进制, 同位中有1 则该位为1 bool bol1 = false, bol2 = fa
阅读全文
摘要:转载记录,原博客地址https://www.cnblogs.com/ryzen/p/14787171.html 在其他程序集访问internal类 前言# 本文将介绍如何在其他程序集访问internal类的方法 首先我们新建一个解决方案,其中同时新建两个类库FooALibray和FooALibray
阅读全文
摘要:原链接 https://devblogs.microsoft.com/dotnet/open-sourcing-xaml-behaviors-for-wpf/ 集成步骤: 移除Dll“Microsoft.Expression.Interactions” “System.Windows.Interac
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Security.Cryptography
阅读全文