弹来弹去跑马灯!

上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 38 下一页
摘要: 自己摸索的,注册表判断是否安装微软Edge浏览器: bool checkInstalledMsEdge() { try { using(var ieKey = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\Windows\CurrentV 阅读全文
posted @ 2021-04-03 14:09 wgscd 阅读(567) 评论(0) 推荐(0)
摘要: 假设自定义一个用户控件用以在父容器Grid里拖动/移动: <UserControl x:Class="App6.Pic" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas 阅读全文
posted @ 2021-03-17 14:38 wgscd 阅读(76) 评论(0) 推荐(0)
摘要: 出现题目的异常,多是引用第三方控件引起的。 在NEW时,需要初始化该对象。 AxESACTIVEXLib.AxESActiveX ax = new AxESACTIVEXLib.AxESActiveX(); ((System.ComponentModel.ISupportInitialize)(th 阅读全文
posted @ 2021-03-10 11:27 wgscd 阅读(1104) 评论(0) 推荐(0)
摘要: Sub Macro1() Debug.Print "999" Dim FilePath, strData FilePath = "C:\Git\Test\JenProjects.json" Open FilePath For Input As #1 Do While Not EOF(1) Line 阅读全文
posted @ 2021-03-02 16:12 wgscd 阅读(730) 评论(0) 推荐(0)
摘要: public async void BitmapTransformAndSaveTest() { var uncroppedfile = await Windows.Storage.ApplicationData.Current.LocalFolder.GetFileAsync("uncropped 阅读全文
posted @ 2021-02-26 10:07 wgscd 阅读(63) 评论(1) 推荐(0)
摘要: 主要是利用 Pp_ProgressChanged 报告进度; private void BtnDownload_Click(object sender, RoutedEventArgs e) { var pp = new Progress<string>();// or 直接传入参数 action: 阅读全文
posted @ 2021-02-24 15:59 wgscd 阅读(80) 评论(0) 推荐(0)
摘要: private bool checkHasInstalledSoftWare(string displayName) { Microsoft.Win32.RegistryKey uninstallNode = Microsoft.Win32.Registry.LocalMachine.OpenSub 阅读全文
posted @ 2021-02-09 17:32 wgscd 阅读(323) 评论(0) 推荐(0)
摘要: 开始尝试是用 Microsoft.Toolkit.Forms.UI.Controls.WebView,后来发现一大堆问题,还要求WIN10 SDK的版本之类的。 网上看到的简单的解决办法(只需要修改注册表)(前提是win10系统需要安装Edge浏览器): 这个函数是网上复制的, 传入11000是IE 阅读全文
posted @ 2021-02-09 16:31 wgscd 阅读(3530) 评论(0) 推荐(0)
摘要: using AxWMPLib; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windo 阅读全文
posted @ 2021-02-02 14:09 wgscd 阅读(451) 评论(1) 推荐(0)
摘要: 自己写了了个批量查找替换工具(C#),目前已知问题有查找速度不够快,假死现象等。 using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Li 阅读全文
posted @ 2020-11-30 15:42 wgscd 阅读(338) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 38 下一页