摘要:
[System.Runtime.InteropServices.DllImport("wininet")] private extern static bool InternetGetConnectedState(out int connectionDescription, int reserved 阅读全文
摘要:
MainWindow.xaml <Window x:Class="SevenZipTestWPF.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas 阅读全文
摘要:
//这里可以动态加载其他dll文件中的组件 Assembly assem = Assembly.LoadFile($"{Directory.GetCurrentDirectory()}\\{data.DllName}"); var onePage = assem.CreateInstance(dat 阅读全文
摘要:
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; //使用DllImport需导入命名空间 using System. 阅读全文