- 博客(17)
- 资源 (1)
- 收藏
- 关注
原创 wpf附加属性学习
demo的xaml代码<Window x:Class="WpfApp2.Login" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d=...
2020-04-23 11:48:21
299
原创 jstree的使用
参考https://blog.youkuaiyun.com/u013455430/article/details/77769358
2019-08-15 14:21:41
143
原创 asp.net 读取web.config 中的信息
首先添加引用:using System.Web.Configuration;假如web.config 在appsetings添加 <add key="BottlePrice" value="0.2" /> <add key="BagPrice" value="0.13" />代码里获取value:WebConfigurationManager.Ap...
2019-07-24 22:15:05
469
原创 c#实现控制台自动发送邮件(windows服务同理)
控制台程序代码using serviceTest;using System;using System.Collections.Generic;using System.Configuration;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Timers;using Sy...
2019-07-23 17:35:01
703
原创 新建windows服务并启动过程
参考 https://blog.youkuaiyun.com/shujudeliu/article/details/81237141在这里总结一下这个过程中踩过的坑:运行.bat文件时,以管理员身份运行。(1)serviceInstaller属性配置StartType改为Automatic(2)serviceProcessInstaller属性配置Account改为LocalSystem否则...
2019-07-23 14:59:03
386
原创 asp.net 读取web.config 中的信息
首先添加引用:using System.Web.Configuration;假如web.config 在appsetings添加 <add key="BottlePrice" value="0.2" /> <add key="BagPrice" value="0.13" />代码里获取value:WebConfigurationManager.Ap...
2019-07-22 09:31:03
256
原创 浙大pta 1002 写出这个数 (20 分)c#实现
1002 写出这个数 (20 分)读入一个正整数 n,计算其各位数字之和,用汉语拼音写出和的每一位数字。输入格式:每个测试输入包含 1 个测试用例,即给出自然数 n 的值。这里保证 n 小于 10100 。输出格式:在一行内输出 n 的各位数字之和的每一位,拼音数字间有 1 空格,但一行中最后一个拼音数字后没有空格。输入样例:123456789098765432112345...
2019-07-18 11:36:52
299
原创 input框绑定回车事件
//回车键开始搜索,textStudent为input框id. $('#textStudent').bind('keypress', function (event) { window.alert("hello world!"); });
2019-07-17 16:00:30
3386
原创 取消div双击选中
取消div双击选中-moz-user-select:none; -ms-user-select: none; -webkit-user-select: none; user-select: none;
2019-07-17 09:14:28
914
原创 layui tabs关闭、刷新
需要导入 <script type="text/javascript" src="~/Content/layui/js/jquery-3.2.1.min.js"></script> <script src="~/Content/layui/layui.js" charset="utf-8"></script> <scri...
2019-04-02 11:47:55
2700
原创 python zfill()与rjust()
描述Python zfill() 方法返回指定长度的字符串,原字符串右对齐,前面填充0。Python rjust() 返回一个原字符串右对齐,并使用空格填充至长度 width 的新字符串。如果指定的长度小于字符串的长度则返回原字符串。zfill()方法语法:str.zfill(width)width – 指定字符串的长度。原字符串右对齐,前面填充0。rjust()方法语法:str.r...
2019-03-28 20:11:28
2900
原创 layui选择框不出现的解决办法
在script中添加如下代码即可 layui.use('form', function () { var form = layui.form; //只有执行了这一步,部分表单元素才会自动修饰成功 //…… //但是,如果你的HTML是动态生成的,自动渲染就会失效 /...
2019-03-26 18:24:16
2905
原创 Noty 页面通知与确认对话框
页面通知页面通知参考https://blog.youkuaiyun.com/asing1elife/article/details/82905563确认对话框我们可以用下面的数组设置按钮对象;var n = new Noty({text: 'Do you want to continue? ',buttons: [Noty.button(‘YES’, ‘btn btn-success’, fun...
2019-03-26 13:09:25
395
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人