摘要: 1. 简述 private、 protected、 public、 internal 修饰符的访问权限。 答 . private : 私有成员, 在类的内部才可以访问。 protected : 保护成员,该类内部和继承类中可以访问。 public : 公共成员,完全公开,没有访问限制。 intern 阅读全文
posted @ 2020-11-13 17:20 jonykuku 阅读(660) 评论(0) 推荐(0) 编辑
摘要: 具体方法如下: 1、新建一个快捷方式:在桌面右击->新建->快捷方式; 2、然后输入%SystemRoot%\explorer.exe /E,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}点击下一步; 3、随意键入个名字如:我的电脑,点击完成; 4、桌面上已经有一个 阅读全文
posted @ 2020-11-09 08:33 jonykuku 阅读(355) 评论(0) 推荐(0) 编辑
摘要: var row = $("#template" + i).clone(); row.find("#ExecTime").text(n.ExecTime); row.find("#ExecName").text(n.ExecName); row.find("#ExecNum").text(n.Exec 阅读全文
posted @ 2020-10-30 11:46 jonykuku 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 一、用vs2015建winform项目的步骤。 1.新建解决方案->新建windows窗体项目 2.在窗体界面最上方点击视图->工具箱,用工具箱可直接往窗体添加各种控件 3.选中控件右击打开属性,在属性中为控件命名 4.进页面外观代码中,为控件设置初值、点击事件、各种属性。 5.在Form.cs后台 阅读全文
posted @ 2020-09-17 09:07 jonykuku 阅读(527) 评论(0) 推荐(0) 编辑
摘要: 注册启动服务:Windows服务器注册停止 管理员身份运行CMD窗口--开始--运行--输入CMD,回车 注册服务命令 cd C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 InstallUtil.exe D:\HardWareServerService. 阅读全文
posted @ 2020-09-15 15:01 jonykuku 阅读(547) 评论(0) 推荐(0) 编辑
摘要: Type tt = Assembly.Load("Model").GetType(tablename); tt.GetType(); //object ff = Activator.CreateInstance(tt, null); //PropertyInfo[] props = tt.GetPr 阅读全文
posted @ 2020-09-12 08:52 jonykuku 阅读(589) 评论(0) 推荐(0) 编辑
摘要: C# 提取逗号分割的字符串 string s = "11,222,3"; List<string> list = new List<string>(s.Split(','));结果是list[0]=11;list[1]=222,list[3]=3 阅读全文
posted @ 2020-08-28 11:16 jonykuku 阅读(1939) 评论(0) 推荐(0) 编辑
摘要: 之前做项目时加的动态搜索是每次输入值都调用一次后台数据库,使用起来发现读取很麻烦,速度慢,搜索快了网页就转圈,在用户使用的过程中,自然是希望网页的响应速度越快越好,所以这种方式的动态搜索就不好。然后我就写了前端的方式动态搜索。 步骤: 一、用于将搜索关键字和页面加载时传过来的数据相比较的search 阅读全文
posted @ 2020-08-20 18:54 jonykuku 阅读(314) 评论(0) 推荐(0) 编辑
摘要: 汉字转拼音 1 /* 2 3 description: Pinyin, to get chinese pinyin from chinese. 4 license: MIT-style 5 authors: Bill Lue 6 requires: 7 core/1.2.1: '*' 8 provi 阅读全文
posted @ 2020-08-20 18:17 jonykuku 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 汉字转拼音 1 using System; 2 using System.Collections.Generic; 3 using System.Text; 4 using System.Text.RegularExpressions; 5 6 namespace CommonLibrary 7 { 阅读全文
posted @ 2020-08-20 10:24 jonykuku 阅读(1047) 评论(0) 推荐(1) 编辑