上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 38 下一页
摘要: #region 转换为 大写金额 /// <summary> /// 将数值转换 RMB 大写金额 /// </summary> /// <param name="money">待转换数值</param> /// <returns>大写金额</returns> public static strin 阅读全文
posted @ 2022-01-20 14:34 ꧁执笔小白꧂ 阅读(107) 评论(1) 推荐(0)
摘要: 1 using Newtonsoft.Json; 2 using System; 3 using System.Collections.Generic; 4 using System.Collections.Specialized; 5 using System.ComponentModel; 6 阅读全文
posted @ 2022-01-20 14:32 ꧁执笔小白꧂ 阅读(203) 评论(0) 推荐(0)
摘要: using System; using System.Configuration; namespace Uril { /// <summary> /// web.config操作类 /// Copyright (C) Maticsoft /// </summary> public sealed cl 阅读全文
posted @ 2022-01-20 14:24 ꧁执笔小白꧂ 阅读(96) 评论(0) 推荐(0)
摘要: 1 /// <summary> 2 /// 执行多条SQL语句,实现数据库事务。 3 /// </summary> 4 /// <param name="SQLStringList">多条SQL语句</param> 5 public static int ExecuteSqlTran(List<St 阅读全文
posted @ 2022-01-20 13:58 ꧁执笔小白꧂ 阅读(141) 评论(0) 推荐(0)
摘要: public static int GetMaxID(string FieldName, string TableName) { string strsql = "select max(" + FieldName + ")+1 from " + TableName; object obj = Get 阅读全文
posted @ 2022-01-20 13:57 ꧁执笔小白꧂ 阅读(86) 评论(0) 推荐(0)
摘要: 1 /// <summary> 2 /// 执行多条SQL语句,实现数据库事务。 3 /// </summary> 4 /// <param name="SQLStringList">多条SQL语句</param> 5 public static void ExecuteSqlTran(ArrayL 阅读全文
posted @ 2022-01-20 13:48 ꧁执笔小白꧂ 阅读(42) 评论(0) 推荐(0)
摘要: /// <summary> /// 分页查询 /// </summary> /// <param name="sql"></param> /// <param name="orderby"></param> /// <param name="startIndex"></param> /// <par 阅读全文
posted @ 2022-01-20 13:43 ꧁执笔小白꧂ 阅读(80) 评论(0) 推荐(0)
摘要: yield return可以保证每次循环遍历的时候从前一次停止的地方开始执行。而不像return一样返回一个值就结束了。 见:https://www.baidu.com/link?url=NbPch_EYqDL5ZxTQYC8MQ1sqKJ-8tXpYsHLgdeXwZ_eq3VZlbD6wdOag 阅读全文
posted @ 2022-01-19 17:57 ꧁执笔小白꧂ 阅读(51) 评论(0) 推荐(1)
摘要: 1 //子组件 bar.vue 2 <template> 3 <div class="search-box"> 4 <div @click="say" :title="title" class="icon-dismiss"></div> 5 </div> 6 </template> 7 <scrip 阅读全文
posted @ 2022-01-19 17:03 ꧁执笔小白꧂ 阅读(1275) 评论(0) 推荐(0)
摘要: 中国互联网史(下面不包括计算机与通信技术历史事件) 1989年, 中国开始建设互联网 (略过联想(1984年)、华为(1987年)、步步高(1995年,旗下先后分裂出oppo、vivo)为首的偏硬件的老一辈互联网人和历史事件)1995年,首家互联网服务供应商诞生1996年,论坛迅速爆发(同时期搜狐、 阅读全文
posted @ 2022-01-18 20:15 ꧁执笔小白꧂ 阅读(449) 评论(0) 推荐(0)
摘要: 1.vue文件走的webview渲染,nvue在app端走的原生渲染(Weex?); 2.uni-app的vue文件里支持所有web排版方式,不管是流式还是flex。但nvue里,只支持flex,且不支持upx,可以使用px、rpx。 补充:nvue样式专项文档 阅读全文
posted @ 2022-01-17 16:24 ꧁执笔小白꧂ 阅读(1219) 评论(0) 推荐(0)
摘要: div 改成 view span、font 改成 text a 改成 navigator img 改成 image input 仅仅是输入框。 原html规范中input不仅是输入框,还有radio、checkbox、时间、日期、文件选择功能。在uni-app和小程序规范中,input仅仅是输入框。 阅读全文
posted @ 2022-01-17 15:38 ꧁执笔小白꧂ 阅读(551) 评论(0) 推荐(0)
摘要: 勾选支持的cpu类型 阅读全文
posted @ 2022-01-17 12:00 ꧁执笔小白꧂ 阅读(2361) 评论(0) 推荐(0)
摘要: 一般使用: Img.Image = new BitmapImage(new Uri("/Resources/列表循环_白.png", UriKind.Relative)); 找不到时,使用: Img.ImageSource = new BitmapImage(new Uri("pack://appl 阅读全文
posted @ 2022-01-15 18:42 ꧁执笔小白꧂ 阅读(345) 评论(0) 推荐(0)
摘要: 常见的有四种方案:1.资源字典2.资源文件、 我用的是资源字典。 1.做两个语言资源,如下: (1)中文资源AppResource_zh_CN.xaml <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/p 阅读全文
posted @ 2022-01-11 17:10 ꧁执笔小白꧂ 阅读(499) 评论(1) 推荐(1)
摘要: /// <summary> /// 只能输入数字 /// </summary> private void txt1_KeyPress(object sender, KeyPressEventArgs e) { //如果输入的不是退格和数字,则屏蔽输入 if (!(e.KeyChar == 8 || 阅读全文
posted @ 2022-01-05 17:37 ꧁执笔小白꧂ 阅读(155) 评论(0) 推荐(0)
摘要: private void CmbL_SelectionChanged(object sender, SelectionChangedEventArgs e) { string 改变后的值= e.AddedItems[1].ToString(); } 阅读全文
posted @ 2021-12-30 09:37 ꧁执笔小白꧂ 阅读(518) 评论(0) 推荐(0)
摘要: Stream iconStream = Application.GetResourceStream(new Uri("pack://application:,,,/TestApp;component/Resources/Test.ico")).Stream; WindowsNotifyIcon.Ic 阅读全文
posted @ 2021-12-30 00:09 ꧁执笔小白꧂ 阅读(319) 评论(0) 推荐(0)
摘要: otabItem.Foreground = System.Windows.Media.Brushes.Black; tabItem.Foreground = new SolidColorBrush((Color)ColorConverter.ConvertFromString("#300b80")) 阅读全文
posted @ 2021-12-29 14:39 ꧁执笔小白꧂ 阅读(177) 评论(0) 推荐(0)
摘要: 1 /// <summary> 2 /// 不重复运行程序 3 /// </summary> 4 /// <returns></returns> 5 private static Process RunningInstance() 6 { 7 Process current = Process.Ge 阅读全文
posted @ 2021-12-27 16:25 ꧁执笔小白꧂ 阅读(117) 评论(0) 推荐(0)
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 38 下一页