摘要:using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Ru
        阅读全文
        随笔分类 - 008 自定义/常用/第三方控件用法
用于维护日常工作中所使用到的自定义控件......
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namesp
        阅读全文
        
摘要:EF的查询效率如何优化?EF(Entity Framework)是一个对象关系映射框架,可以用来简化与数据库交互的代码。在进行查询时,以下是一些优化EF查询效率的方法: 使用延迟加载:EF默认使用延迟加载(Lazy Loading)来获取导航属性的数据。延迟加载可以避免不必要的查询和数据加载,因此可
        阅读全文
        
摘要:StringHelper--字符串左右添加指定字符 1 using System; 2 using System.Collections.Generic; 3 using System.Configuration; 4 using System.Linq; 5 using System.Text; 
        阅读全文
        
摘要:使用Nuget安装 NPOI NPOI.Excel using NPOI.HSSF.UserModel; using NPOI.SS.UserModel; using NPOI.XSSF.UserModel; using System; using System.Collections.Generi
        阅读全文
        
摘要:using System; using System.Drawing; using System.Runtime.InteropServices; using System.Windows.Forms; namespace KK.WatermarkTextBox { public partial c
        阅读全文
        
摘要:C# 合并PDF文件 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using 
        阅读全文
        
摘要:第一步:使用Nuget包管理器安装NPOI 第二步:如下所示 using NPOI.HSSF.UserModel; using NPOI.SS.UserModel; using NPOI.XSSF.UserModel; using System; using System.Collections.G
        阅读全文
        
摘要:using System; using System.Configuration; namespace ConfigurationTool { /// <summary> /// 用于XML操作 /// </summary> public class ConfigurationHelper { //
        阅读全文
        
摘要:using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Reflection; using System.Text; using System.Windows
        阅读全文
        
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; namespace ZB.QueueSys.Comm
        阅读全文
        
摘要:第一步:创建用于排序帮助类 using System; using System.Collections.Generic; using System.ComponentModel; using System.Reflection; namespace ZB.QueueSys.Common { pub
        阅读全文
        
摘要:1.网站--新增网站/FTP站点——略 注意:更改合适的端口号,IP地址可设置为 全部未分配 2.新增完网站后进行修改 第一步:选择对应网站 第二步:点击——绑定 3.设置Framework版本 第一步:选择——应用程序池 第二步:选择对应的网站,设置对应的Framework版本 4.浏览——查看A
        阅读全文
        
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; namespace ZB.Que
        阅读全文
        
摘要:using System; using System.IO; using System.Diagnostics; using Microsoft.Win32; using ICSharpCode.SharpZipLib.Checksums; using ICSharpCode.SharpZipLib
        阅读全文
        
摘要:代码如下: 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
        阅读全文
        
摘要:using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace ZB.Q
        阅读全文
        
摘要:Winfrom UI 美化 此处只做演示,未进行页面布局。。。。 1.CSkin:此处只显示一种样式供参考,可继承其他样式——略 2.MetroFramework.Design 3.Ribbon 4.IrisSkin4——切换皮肤--样式种类多
        阅读全文
        
摘要:Winfrom自定义控件添加自定义图标实现方式: 1.新建UserControl——略 2.寻找合适的图标文件——将文件和控件放置同一目录下(相同目录、自定义控件类名、图标文件名相同) 注:如果路径不同,引入方式如下(Images为文件夹): [ToolboxBitmap(typeof(KNumbe
        阅读全文
        
 
                    
                     
                    
                 
                    
                 

 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号