自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 资源 (1)
  • 收藏
  • 关注

原创 主窗体和子窗体之间的转换

其实就是把子窗体的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 515

原创 dataGridView动态加载行号

private void dataGridView1_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e)         {             var dgv = (DataGridView)sender;             if (dgv.RowHeadersVisible)            

2017-11-02 17:43:29 315

原创 读取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 298

原创 写入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 269

原创 利用定点、句柄,去抓取其他程序的值

通过“钩子”去到要抓取的定点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 993

原创 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 549

原创 FTP 配置

1、  开始菜单中输入"打开或关闭",找到"打开或关闭Window功能" 2、 在打开或关闭Window功能中到打“Internet信息服务”然后把FTP服务器和Web管理工具打上勾,然的确定 3、  在打开菜单中搜索“IIS”,打开Internet信息服务(IIS)管理器, 4、  进入Internet信息服务管理器,在网站上右击,点“添加FTPd站点”, 5、  在添加FTP站点中输入

2015-07-13 15:14:44 437

原创 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 827

原创 通过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 505

原创 c#实现动态悬浮窗代码(可用于检测)

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using Sy

2015-07-13 14:00:08 1839

利用反射动态加载dll

C#,利用反射动态加载dll。dll需要在sql server数据库里面进行维护,加载的时候先去读取数据库里面的信息,查到dll的名称。并根据名称去程序里面直接去抓取,并显示在界面上

2017-11-03

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除