编程相关
  • C#回调函数的简单讲解与应用例子

    这篇文章的目的就是讲清楚C#回调函数是什么,以及什么时候使用 using System; namespace CallBackTest { class Program //用户层,执行输入等操作 { ……

    亦灵一梦 2020-07-31
    0 1
  • office转PDF|wps转PDF

    1.0:office转图片 1.1:安装office 1.2:引用项目 Microsoft.Office.Interop.Word Microsoft.Office.Interop.PowerPoint microsoft.office.interop.Excel Mic……

    亦灵一梦 2020-07-27
    0 1
  • WPF窗口置顶

    public class TopMostTool { public static int SW_SHOW = 5; public static int SW_NORMAL = 1; public static int SW_MAX ……

    亦灵一梦 2020-04-24
    0 1
  • C#捕获windows关机事件,在系统关机前做一些自己想做的事

    方法1 /// <summary> /// 窗口过程的回调函数 /// </summary> /// <param name="m"></param> ……

    亦灵一梦 2020-04-21
    0 1
  • c#最小化指定应用程序+判断激活并最大化指定应用程序

    using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using Syste……

    亦灵一梦 2020-04-21
    0 1
  • C#将文本用语音朗读

    在项目中引用System.Speech,具体方法为右键点击项目 > 添加引用 > .Net > 找到System.Speech点击确定。 下面为实现代码,将以控制台程序为例: using Syste……

    亦灵一梦 2020-04-21
    0 1
  • C#检测计算机上是否安装了某些软件

    引入头文件 using System.Runtime.InteropServices; 然后,输入如下代码即可 static void Main() { StringBuilder result = new StringBuilder(); fo……

    亦灵一梦 2020-04-21
    0 1
  • C#中操作xml文件(插入节点、修改、删除)

    已知有一个XML文件(bookstore.xml)如下: <?xml version="1.0" encoding="gb2312"?> <bookstore> <book genre="fantasy" IS……

    亦灵一梦 2020-04-21
    0 1
  • Web浏览器控制和指定IE版本

    我在很多桌面应用程序中使用Internet Explorer Web浏览器控件来显示文档内容。例如Markdown Monster,Help Builder和WebSurge严重依赖Web浏览器控件来呈现其文……

    亦灵一梦 2019-04-25
    0 1
  • 属性(Property)和字段(Field)的区别

    【字段】 字段(Field)是一种表示与对象或类关联的变量的成员,字段声明用于引入一个或多个给定类型的字段。字段是类内部用的,private类型的变量(字段),通……

    亦灵一梦 2018-07-07
    0 1