![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C#
文章平均质量分 73
QXS1051868415
这个作者很懒,什么都没留下…
展开
-
通过XML格式,读取CSV文件
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Xml.Linq;using System.IO;namespace CSV读取{ class Program { static voi原创 2015-07-13 15:09:51 · 493 阅读 · 0 评论 -
C#中,实现文件的移动
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Text;using System.IO;namespace ConsoleApplication5{ class Program {原创 2015-07-13 15:12:55 · 816 阅读 · 0 评论 -
FTP 配置
1、 开始菜单中输入"打开或关闭",找到"打开或关闭Window功能"2、 在打开或关闭Window功能中到打“Internet信息服务”然后把FTP服务器和Web管理工具打上勾,然的确定3、 在打开菜单中搜索“IIS”,打开Internet信息服务(IIS)管理器,4、 进入Internet信息服务管理器,在网站上右击,点“添加FTPd站点”,5、 在添加FTP站点中输入原创 2015-07-13 15:14:44 · 422 阅读 · 0 评论 -
C#读取XML文件,以及对XML文件的增删改查
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Xml;using System.Linq;using System.Text;using System.Windo原创 2015-07-23 10:46:31 · 538 阅读 · 0 评论 -
利用定点、句柄,去抓取其他程序的值
通过“钩子”去到要抓取的定点xy,并转换成句柄,然后通过api获取想要的值。代码如下1、首先定义一个MouseHook 类using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Runtime.InteropServices;usin原创 2016-05-13 16:49:48 · 986 阅读 · 0 评论 -
写入log事件
public static void Write_Log(string strLog,string type) { string sFilePath = System.AppDomain.CurrentDomain.BaseDirectory + "log"; string sFileName = type + ".log";原创 2017-11-02 17:40:48 · 257 阅读 · 0 评论 -
读取ini配置文件
using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Runtime.InteropServices;using System.Text;using System.Threading.Tasks;namespace Commonre原创 2017-11-02 17:41:58 · 285 阅读 · 0 评论 -
主窗体和子窗体之间的转换
其实就是把子窗体的FormClosing事件写在主窗体中 private void BtnFeedMaster_Click(object sender, EventArgs e) { //Feeder注册 Feeder_Master_Add Feeder_Master_Add = new Feeder_Master_Add原创 2017-11-02 17:46:07 · 506 阅读 · 0 评论