![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C#框架开发
文章平均质量分 62
u010108497
这个作者很懒,什么都没留下…
展开
-
c#ping功能实现,相当简单
不多说,直接上码。 public static bool Ping(string ip) { System.Net.NetworkInformation.Ping p = new System.Net.NetworkInformation.Ping(); System.Net.NetworkInformation.Ping原创 2013-07-03 06:28:14 · 838 阅读 · 0 评论 -
C# winfrom label 控件背景颜色自定义RGB 值
最基本的东西,最匮乏的知识,悲催啊!给自己留个底儿!label.BackColor = Color.FromArgb(255, 255, 0, 0);4个数的顺序是a,r,g,ba是透明度,后面是红绿蓝转载 2013-07-03 07:37:15 · 10415 阅读 · 0 评论 -
c#远程桌面开发
c#使用远程桌面需要调用两个DLL1、AxInterop.MSTSCLib.dll2、Interop.MSTSCLib.dll在添加引入后在工具箱的选择项上添加Microsoft Terminal Services Control在工具箱上出现此控件后添加到窗体中。代码: rdp3.Server = "";//你要连接的电脑的IP原创 2013-07-03 06:21:23 · 5156 阅读 · 4 评论 -
c# 直连orcale数据
不多说了,直接上码。using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;using System.Data.OracleClient;namespace WH{ class OracleCZ {原创 2013-07-01 15:54:28 · 545 阅读 · 0 评论 -
c#直连sqlserver数据库
不多说了,直接上码。using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data.SqlClient;using System.Data;namespace WH{ class SqlserverCZ {原创 2013-07-01 15:53:44 · 814 阅读 · 0 评论 -
c#直连access数据库
不多说了,直接上码。using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;using System.Data.OleDb;namespace WH{ class AccessCZ {原创 2013-07-01 15:51:59 · 556 阅读 · 0 评论 -
c# 窗体位置设置
// 获取屏幕分辨率int SH = Screen.PrimaryScreen.Bounds.Height;int SW = Screen.PrimaryScreen.Bounds.Width;System.Windows.Forms.SystemInformation.WorkingArea.Width 屏幕宽度System.Windows.Forms.SystemInforma转载 2013-07-04 08:57:59 · 742 阅读 · 0 评论 -
XML操作公共类
using System;using System.IO;using System.Data;using System.Xml;using System.Xml.XPath;namespace ExecuteXml...{ public class XmlControl ...{ protected string strXmlFil转载 2013-09-22 10:04:10 · 479 阅读 · 0 评论