摘要:
代码: <RichTextBox CaretBrush="#fff" Background="Transparent" BorderThickness="0"> <FlowDocument FontSize="16" Foreground="#fff"> <Paragraph LineHeight= 阅读全文
摘要:
TestModel类定义: public class TestModel{ public int Id { get; set; } public string Name { get; set; } public string Code { get; set; } } Dictionary与List定 阅读全文
摘要:
Install.bat: @echo off "%~dp0InstallUtil\InstallUtil.exe" "%~dp0DataSyncService.exe" %SystemRoot%\system32\sc config DataSyncService start= auto %Syst 阅读全文
摘要:
后期生成事件命令行代码: cd /d $(DevEnvDir)cd..cd..cd VC\bineditbin /largeaddressaware $(TargetPath) 阅读全文
摘要:
以下载CefSharp.Wpf v57.0.0版本为例: 1、打开NuGet官网:https://www.nuget.org/ 2、输入CefSharp.Wpf,点击查询,如下所示: 3、确认版本正确后,点击链接下载,如下所示: 4、使用讯雷下载,会快不少,可以点击“使用讯雷下载”或者复制下载地址后 阅读全文
摘要:
例: Install-Package CefSharp.Wpf -Version 73.1.130 Install-Package CefSharp.Common -Version 73.1.130 Install-Package CefSharp.Wpf -Source C:\Users\suxi 阅读全文
摘要:
注意权限问题 1.查看是否有被锁的表: select b.owner,b.object_name,a.session_id,a.locked_modefrom v$locked_object a,dba_objects b where b.object_id = a.object_id 2.查看是哪 阅读全文
摘要:
代码: public static void DoEvents(Dispatcher dispatcher) { DispatcherFrame frame = new DispatcherFrame(); dispatcher.BeginInvoke(new Action<object>((obj 阅读全文
摘要:
代码: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DataSync.Utils { /// 阅读全文
摘要:
1、普通查找:双层循环遍历,第二层循环中找到即break,查找时间复杂度O(M*N/2) List<PtCameraInfo> cameraList = new List<PtCameraInfo>(); List<string> cameraIdList = dataIds.Split(','). 阅读全文