摘要:
原文:https://blog.csdn.net/qq_15028299/article/details/81330854 SQL2008 表达式:是常量、变量、列或函数等与运算符的任意组合。 https://www.2cto.com/database/201801/712174.html 一旦成功 阅读全文
摘要:
自定义特性 [AttributeUsage(AttributeTargets.All)] public class HelpAttribute : System.Attribute { private string topic; public readonly string Url; public 阅读全文
摘要:
使用过Webapi的园友应该都知道,Webapi的接口返回值主要有四种类型 void无返回值 IHttpActionResult HttpResponseMessage 自定义类型 此篇就围绕这四块分别来看看它们的使用。 一、void无返回值 void关键字我们都不陌生,它申明方法没有返回值。它的使 阅读全文
摘要:
short数据与byte数组互转 public byte[] ShortToByte(short value) { return BitConverter.GetBytes(value); } public short ByteToShort(byte[] arr) { return BitConv 阅读全文
摘要:
本文主要是介绍在.Net中System.Diagnostics命名空间下Process类和ProcessStartInfo类的使用 用于启动一个外部程序所使用的类是Process,至于ProcessStartInfo类只是用来传入Process类所需要的参数,个人理解是有点类似于适配器的操作,不知道 阅读全文
摘要:
C#双缓冲解释 简单说就是当我们在进行画图操作时,系统并不是直接把内容呈现到屏幕 C#双缓冲 上,而是先在内存中保存,然后一次性把结果输出来,如果没用双缓冲的话,你会发现在画图过程中屏幕会闪的很厉害,因为后台一直在刷新,而如果等用户画完之后再输出就不会出现这种情况,具体的做法,其实也就是先创建一个位 阅读全文
摘要:
使用yield关键字,非常的方便 private static IEnumerable<Control> GetChildren(Control frmRootDock) { if (frmRootDock == null) { throw new ArgumentNullException("") 阅读全文
摘要:
类 public class A { /// <summary> /// 字段名称 /// </summary> public string Name { get; set; } } 获取值 A model= new A(){Name="ABC"}; string nameOfProperty = 阅读全文
摘要:
20个使用WebGL和Three.js实现的网页场景 https://www.open-open.com/news/view/9d8136 20个使用WebGL和Three.js实现的网页场景 http://www.chinaz.com/design/2013/1008/320641.shtml 2 阅读全文
摘要:
关于C# Dockpanel的一些入门的基本操作 原文链接:https://blog.csdn.net/Lc1996Jm/article/details/51881064 一、引用: 1.建立一个WinForm工程,默认生成了一个WinForm窗体Form1(此处默认为主窗体)。 2.引用—>添加引 阅读全文