上一页 1 ··· 79 80 81 82 83 84 85 86 87 ··· 129 下一页
摘要: SendMessage和PostMessage的区别 SendMessage是将消息发送到窗口函数,在窗口函数处理完消息后才返回。 PostMessage 是将消息发送到窗口的消息队列中,然后立即返回 SendMessage是同步处理 PostMessage是异步处理 BOOL PostMessag 阅读全文
posted @ 2022-05-06 16:14 txwtech 阅读(835) 评论(0) 推荐(0)
摘要: c# 如何ping通IP Ping pingSender = new Ping(); PingReply reply = pingSender.Send("172.10.10.22", 120);//第一个参数为ip地址,第二个参数为ping的时间 if (reply.Status == IPSta 阅读全文
posted @ 2022-05-06 14:15 txwtech 阅读(1076) 评论(0) 推荐(0)
摘要: C# 激活窗口 窗体启动后,再次启动时判断进程是否存在,如果已经存在则直接拉起当前进程,前置显示并聚焦窗口。 /// <summary> /// 应用程序的主入口点。 /// </summary> [STAThread] static void Main(string[] args) { Appli 阅读全文
posted @ 2022-05-05 11:50 txwtech 阅读(1390) 评论(0) 推荐(0)
摘要: 你没有权限访问 请与网络管理员联系”要怎么解决? https://zhidao.baidu.com/question/1772115761461381180.html 1、找到你要共享的文件夹,选中并且右键,选中属性,选择安全选项卡。 2、点击安全选项卡下面的编辑,弹出编辑选项卡。 3、在组或用户名 阅读全文
posted @ 2022-05-03 13:45 txwtech 阅读(2601) 评论(0) 推荐(0)
摘要: c#ms chart图表隐藏与显示某一系列曲线方法vs2019 private void checkBox1_CheckedChanged(object sender, EventArgs e) { if(checkBox1.Checked==true) { // chart1.Series[0]. 阅读全文
posted @ 2022-04-29 16:45 txwtech 阅读(2526) 评论(0) 推荐(0)
摘要: c#获取本机IP public static string GetLocalIp() { ///获取本地的IP地址 string AddressIP = string.Empty; foreach (IPAddress _IPAddress in Dns.GetHostEntry(Dns.GetHo 阅读全文
posted @ 2022-04-28 07:59 txwtech 阅读(1045) 评论(0) 推荐(0)
摘要: c#对话框消息框messagebox.show置顶方法 // MessageBox.Show("<称重设备>串口" + COMPort + "打开失败\r\nCOM端口选择正确吗?\r\n串口线连接了吗?\r\n" + e.StackTrace,"串口错误",MessageBoxButtons.OK 阅读全文
posted @ 2022-04-26 21:30 txwtech 阅读(1392) 评论(0) 推荐(0)
摘要: Au软件中文版audition音频软件 CS6-2020安装包下载安装 小林 百灵达企业店 2021-07-05 17:14 收录于合集#音频4个 下载:首先下载百度网盘登录账号 第二步:复制下方链接到浏览器,输入提取码 第三步:最后自动跳转至下载列表,等待下载完成即可 不会百度网盘下载请把邮箱号及 阅读全文
posted @ 2022-04-23 15:55 txwtech 阅读(764) 评论(0) 推荐(0)
摘要: C#程序编译时自动更新版本号方法 1.创建控制台工程AutoUpdateVersion,复制如下代码,生成exe文件 using System; using System.IO; //by txwtech namespace AutoUpdateVersion { class Program { s 阅读全文
posted @ 2022-04-22 17:20 txwtech 阅读(1565) 评论(2) 推荐(0)
摘要: D:\NetCoreDemo\coreconsole>dotnet new使用情况: new [选项] dotnet new console o d:\txwtech11 选项: -h, --help 显示有关此命令的帮助。 -l, --list 列出包含指定名称的模板。如果未指定名称,请列出所有模 阅读全文
posted @ 2022-04-21 18:07 txwtech 阅读(469) 评论(0) 推荐(0)
上一页 1 ··· 79 80 81 82 83 84 85 86 87 ··· 129 下一页