摘要:using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; namespace ZB.QueueSys.Common
阅读全文
随笔分类 - 003 C#
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; namespace ZB.Que
阅读全文
摘要:一.定义:提到Web API特指ASP.NET Web API。 官方定义如下,强调两个关键点,即可以对接各种客户端(浏览器,移动设备),构建http服务的框架。 Web API在ASP.NET完整框架中地位如下图,与SignalR一起同为构建Service的框架。Web API负责构建http常规
阅读全文
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; namespace ZB.QueueSys.Common.Enum {
阅读全文
摘要:创建第一个Web API项目 第一步: 第二步: 注:App_Start\WebApiConfig 第三步:创建Model、Controll,略 --分别创建对应实体 public class User { public int id { get; set; } public string name
阅读全文
摘要:using System; using System.IO; using System.Diagnostics; using Microsoft.Win32; using ICSharpCode.SharpZipLib.Checksums; using ICSharpCode.SharpZipLib
阅读全文
摘要:using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; namespace AutoUpdate.Helper { public c
阅读全文
摘要:using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; namespace ZB.QueueSys.Common
阅读全文
摘要:代码如下: using System; using System.Drawing; using System.Windows.Forms; namespace KK.ButtonLable { public partial class Form1 : Form { public Form1() {
阅读全文
摘要:Winform中 使用Cursor 1.放弃进度条、动态进度图片等方式实现用户体验优化方式(主要是优化用户等待体验),建议使用方式? 答:对于From或者Control而言,其提供了Cursor属性设置即可. 例如: this.Cursor = Cursors.WaitCursor; Display
阅读全文
摘要:private void button5_Click(object sender, EventArgs e) { string str = "8.00~12.30"; int index = str.IndexOf('~'); int length = str.Length - index - 1;
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; namespace ZB.QueueSys.Comm
阅读全文
摘要:C# 设置鼠标光标位置 C#获取指定控件所在屏幕的位置
阅读全文
摘要:处理方式:布局挂起 启用窗体双缓存 CheckForIllegalCrossThreadCalls = false; SetStyle(ControlStyles.UserPaint, true); SetStyle(ControlStyles.AllPaintingInWmPaint, true)
阅读全文
摘要:帮助类: 使用方式:
阅读全文
摘要:方式一:Linq C#中两个List<TModel>中根据指定条件获取不同对象 续 原始需求:已经插入的数据不再重复插入(所有数据中排除已有数据,不存在数据以新对象形式存储在对象三中) 运行效果如下所示:
阅读全文

浙公网安备 33010602011771号