上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 35 下一页
摘要: WPF播放声音 用MediaElement控件,一个放完到下一个 <Window x:Class="WpfApp1_candel.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x 阅读全文
posted @ 2023-06-03 13:37 牛腩 阅读(62) 评论(0) 推荐(0) 编辑
摘要: h5 audio播放声音 http://www.niunan.net/test_audio.html <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0" 阅读全文
posted @ 2023-06-03 11:16 牛腩 阅读(3) 评论(0) 推荐(0) 编辑
摘要: WPF全局样式 Theme目录下建立Style.xaml文件 <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft 阅读全文
posted @ 2023-05-31 14:35 牛腩 阅读(102) 评论(0) 推荐(0) 编辑
摘要: WPF窗体右上角叉叉退出应用程序 WPF窗体右上角叉叉退出应用程序 记得xaml里的Window标签响应Closing事件 private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e) { if 阅读全文
posted @ 2023-05-31 14:19 牛腩 阅读(153) 评论(0) 推荐(0) 编辑
摘要: WPF中的密码框 XAML文件 <PasswordBox Name="PasswordBox" Margin="5" Padding="5" PreviewKeyDown="Txtpassword_PreviewKeyUp"/> 后台代码: IntPtr p = System.Runtime.Int 阅读全文
posted @ 2023-05-31 14:10 牛腩 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 2023年05月28日 VS2022 WFP .NETFramework,Version=v4.6.2 测试通过 NUGET:EntityFramework 6.4.4 , Microsoft.AspNet.Identity.EntityFramework 2.2.3 //扩展内置的identity 阅读全文
posted @ 2023-05-28 12:07 牛腩 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 2023-05-27测试 ,直接用百度文心一言搜索的,结果出来的代码能运行得通,不错不错 服务器端: using System.Net; using System.Net.Sockets; using System.Text; namespace tcpipdemo_server; class Pr 阅读全文
posted @ 2023-05-27 13:02 牛腩 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 一周一周来算,注,如果本月1号是星期日,则这一月共有六周,即六行,所以干脆每月都输出6周就行了,然后再算第一周里的本月一号是周几,第一周里本月又占了几天。。。呃。。。反正很乱,想了一上午,现在写出来了倒不知道如何解释了。。算了。。直接上代码。。 //日历界面 public IActionResult 阅读全文
posted @ 2023-03-20 13:20 牛腩 阅读(315) 评论(1) 推荐(1) 编辑
摘要: 看了书《构建之法》里面有说到建议编程时的那个大括号占一行的,今天学android的时候突然想试试设置 一下,上网搜索了一下,方法如下图: 这样就可以了!!! 阅读全文
posted @ 2023-03-20 09:57 牛腩 阅读(79) 评论(0) 推荐(0) 编辑
摘要: ASP.NET WEBFORM string logtxt = "进入回调页面:\r\n"; logtxt += $"ContentType:{Request.ContentType}\r\n"; Stream s = Request.InputStream; StreamReader reader 阅读全文
posted @ 2023-03-06 23:54 牛腩 阅读(15) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 35 下一页