最新文章
  • C#中base关键字的几种用法

    base其实最大的使用地方在面相对性开发的多态性上,base可以完成创建派生类实例时调用其基类构造函数或者调用基类上已被其他方法重写的方法。 例如: 1关于bas……

    亦灵一梦 2020-09-20
    0 0
  • 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
  • ASP.NET URL重写(伪静态)

    1.下载URLRewriter 下载URLRewriter.dll,并在项目中引入程序集URLRewriter,即在网站的Bin文件夹中添加URLRewriter.dll。 或者安装服务器中安装urlrewrite2 ……

    亦灵一梦 2020-07-15
    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
  • 如何用chrome浏览器截获和发送POST请求

    平时登录网站时,是在表单中填写用户名、密码,然后用鼠标点击提交。现在想用程序抓内网网站数据,就得知道向哪个网址POST,POST了什么? 1.参考http://www.im……

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

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

    亦灵一梦 2020-04-21
    0 1