![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C#
文章平均质量分 68
wczxwl_wczxwl
这个作者很懒,什么都没留下…
展开
-
建立带有圆角样式的路径
public enum RoundStyle { /// /// 四个角都不是圆角。 /// None = 0, /// /// 四个角都为圆角。 /// All = 1, /// /// 左边两个角为圆角。原创 2012-07-12 14:57:55 · 454 阅读 · 0 评论 -
计算次方的函数
/// /// 计算次方的函数 /// /// 基数 /// 指数 /// private static int calNSquare(int nBase, int nSqu) { int Result = 1; for (int i原创 2012-07-12 15:17:50 · 7599 阅读 · 0 评论 -
单字节10进制到16进制转换
//单字节10进制到16进制转换private static string tenValue2byte(int ten){ switch (ten) { case 0: case 1: case 2: case 3: case 4: case 5: case 6:原创 2012-07-16 13:41:43 · 640 阅读 · 0 评论 -
编解ASCII码
//编ASCII码 public static byte[] EncodingASCII(string buf) { byte[] data = Encoding.ASCII.GetBytes(buf);// + "\r\n" return data; } //解ASCI原创 2012-07-17 08:50:00 · 629 阅读 · 0 评论 -
委托(参数传递简单应用示例)
委托应用的简单示例,总共分为六步:第一:定义事件类 public class TriggerAlarmRecordEventArgs : EventArgs { private AlarmRecordModel _AlarmRecordModel; public AlarmRecordModel AlarmRecord原创 2012-07-17 09:19:32 · 797 阅读 · 0 评论 -
简单数据库操作 DBOper
数据库字符串web.config中 后台处理 public class DBOper { private static string connectionstring = ConfigurationManager.ConnectionStrings["OraclAdoConnection"].ConnectionString; p原创 2012-07-19 21:56:54 · 2367 阅读 · 0 评论