上一页 1 2 3 4 5 6 ··· 9 下一页
摘要: 1.ListView数据绑定 <ListView ItemsSource="{Binding List}" SelectionChanged="ListView_SelectionChanged" ScrollViewer.VerticalScrollBarVisibility="Auto" Sel 阅读全文
posted @ 2025-05-05 09:20 qiutian-hao 阅读(110) 评论(0) 推荐(0)
摘要: 1.下载安装netDxf库 2.读取dxf文件,数据存储到DataTable using netDxf; using netDxf.Entities; /// <summary> /// 读取CAD的Dxf文件数据 /// </summary> public class DxfHelperHtili 阅读全文
posted @ 2025-05-05 09:19 qiutian-hao 阅读(568) 评论(2) 推荐(0)
摘要: 1.界面布局 <UserControl x:Class="Controls.UserControls.TitleBarControl" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http:// 阅读全文
posted @ 2025-05-05 09:16 qiutian-hao 阅读(29) 评论(0) 推荐(0)
摘要: 1.xaml界面布局 <Window x:Class="Controls.Windows.WaittingWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas 阅读全文
posted @ 2025-05-05 09:14 qiutian-hao 阅读(39) 评论(0) 推荐(0)
摘要: 方案1:创建任务计划--启动软件取消UAC权限询问弹窗 1.1 打开任务计划 右键“我的电脑”--“管理”,打开任务计划,如图所示 1.2 创建任务计划 1.2.1 常规参数设置 1.2.2 触发器设置 1.2.3 操作设置 最后按确定即可完成任务计划创建,至此电脑重启登陆后,软件都会自动启动 方案 阅读全文
posted @ 2025-02-13 15:41 qiutian-hao 阅读(207) 评论(0) 推荐(0)
摘要: 1.安装uvicorn和FastAPI pip3 install uvicorn pip3 install FastAPI 2.python代码实现 import uvicorn from fastapi import FastAPI app = FastAPI() @app.post("/Show 阅读全文
posted @ 2025-01-10 10:46 qiutian-hao 阅读(33) 评论(0) 推荐(0)
摘要: 1.Python实现 1.1、Add.py类实现加法计算 def add(x,y): return x+y 1.2、Test.py类实现调用Add.py加法计算 import Add def ShowNum(x,y): print('和为:%d' % Add.add(x,y)) return Add 阅读全文
posted @ 2025-01-08 11:03 qiutian-hao 阅读(347) 评论(0) 推荐(0)
摘要: private void TestPython() { try { //python环境路径 string pathToVirtualEnv = @"H:\ProgramData\anaconda3\envs\python39"; Environment.SetEnvironmentVariable 阅读全文
posted @ 2025-01-06 15:18 qiutian-hao 阅读(106) 评论(0) 推荐(0)
摘要: public static DataTable ReadDataTable(string filePath) { DataTable dt = new DataTable(); try { System.Text.Encoding encoding = Encoding.Default;//GetT 阅读全文
posted @ 2024-12-10 16:49 qiutian-hao 阅读(143) 评论(0) 推荐(0)
摘要: public static DataTable ReadDataTable(string filePath) { DataTable dt = new DataTable(); StreamReader sR = null; try { if (File.Exists(filePath)) { sR 阅读全文
posted @ 2024-12-10 16:48 qiutian-hao 阅读(135) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 9 下一页