02 2021 档案
摘要:public async void BitmapTransformAndSaveTest() { var uncroppedfile = await Windows.Storage.ApplicationData.Current.LocalFolder.GetFileAsync("uncropped
阅读全文
摘要:主要是利用 Pp_ProgressChanged 报告进度; private void BtnDownload_Click(object sender, RoutedEventArgs e) { var pp = new Progress<string>();// or 直接传入参数 action:
阅读全文
摘要:private bool checkHasInstalledSoftWare(string displayName) { Microsoft.Win32.RegistryKey uninstallNode = Microsoft.Win32.Registry.LocalMachine.OpenSub
阅读全文
摘要:开始尝试是用 Microsoft.Toolkit.Forms.UI.Controls.WebView,后来发现一大堆问题,还要求WIN10 SDK的版本之类的。 网上看到的简单的解决办法(只需要修改注册表)(前提是win10系统需要安装Edge浏览器): 这个函数是网上复制的, 传入11000是IE
阅读全文
摘要:using AxWMPLib; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windo
阅读全文