摘要:
C#语言能不能画一些动画特效呢?闲来无事,特过一把编程瘾。一共写了6个例子特效动画,界面如下,程序在文末供下载。 拿一个粒子效果“鼓泡泡效果”的类讲解,其他类似: using System; using System.Collections.Generic; using System.Drawing 阅读全文
摘要:
下面是WinUI 3 和 MAUI 的比对分析: 1. WinUI 3 优点: 与 Windows 生态系统紧密集成:WinUI 3 是 Windows 平台上的原生 UI 框架,与 Windows 操作系统的其他组件和服务紧密集成。这使得开发人员可以轻松地利用 Windows 的功能、充分利用 W 阅读全文
摘要:
下载 界面: 代码:form1.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System. 阅读全文
摘要:
把文字转成语音这个功能是很常用的,如果不追求语音个性,只需要短短几行代码就可以实现。 下载 代码,项目中引用 using System.Speech.Synthesis; 四行代码实现说话: using (SpeechSynthesizer voice = new SpeechSynthesizer 阅读全文