随笔 - 148  文章 - 1  评论 - 15  阅读 - 30万
上一页 1 2 3 4 5 6 7 ··· 15 下一页
  2022年1月14日
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace ConsoleApp1 { class 阅读全文
posted @ 2022-01-14 10:01 冰魂雪魄 阅读(1096) 评论(0) 推荐(0) 编辑
  2022年1月13日
摘要: /// <summary> /// 写入到Excel表格文件当中,导出数据 /// </summary> /// <param name="dt"></param> /// <returns></returns> public bool DataTableToExcel(DataTable dt, 阅读全文
posted @ 2022-01-13 09:45 冰魂雪魄 阅读(270) 评论(0) 推荐(1) 编辑
  2022年1月12日
摘要: 导入导出功能,在调用ShowDialog时的错误,解决办法如下: WinForm窗体的入口点: /// <summary> /// 应用程序的主入口点。 /// </summary> [STAThread] private static void Main(String[] args) { Appl 阅读全文
posted @ 2022-01-12 10:58 冰魂雪魄 阅读(387) 评论(0) 推荐(0) 编辑
  2021年12月21日
摘要: C# List集合合并 在开发过程中.数组和集合的处理是最让我们担心.一般会用for or foreach 来处理一些操作.这里介绍一些常用的集合跟数组的操作函数. 首先举例2个集合A,B. List<int> listA = new List<int> {1,2,3,5,7,9}; List<in 阅读全文
posted @ 2021-12-21 17:18 冰魂雪魄 阅读(5788) 评论(0) 推荐(0) 编辑
  2021年12月10日
摘要: DevExpress.XtraEditors.ComboBoxEdit 只能选择不能在里面 输入数据 combboxEdit.propoties.textEditStyle=DisableTextEditor 阅读全文
posted @ 2021-12-10 10:26 冰魂雪魄 阅读(385) 评论(0) 推荐(0) 编辑
  2021年12月6日
该文被密码保护。 阅读全文
posted @ 2021-12-06 11:08 冰魂雪魄 阅读(0) 评论(0) 推荐(0) 编辑
  2021年11月26日
摘要: #region string 转Type /// <summary> /// string 转Type /// </summary> /// <param name="typeName"></param> /// <returns></returns> public Type GetEnumType 阅读全文
posted @ 2021-11-26 09:54 冰魂雪魄 阅读(437) 评论(0) 推荐(0) 编辑
  2021年11月25日
该文被密码保护。 阅读全文
posted @ 2021-11-25 10:11 冰魂雪魄 阅读(0) 评论(0) 推荐(0) 编辑
  2021年11月24日
摘要: 方法一: public static Dictionary<string, string> GetEnumDescription<T>() { Dictionary<string, string> dic = new Dictionary<string, string>(); FieldInfo[] 阅读全文
posted @ 2021-11-24 17:29 冰魂雪魄 阅读(407) 评论(0) 推荐(0) 编辑
  2021年11月15日
摘要: 写入内容为如图 写入xml文件方法 public void CreatXmlTree(string xmlPath) { XElement xElement = new XElement( new XElement("BookStore", new XElement("Book", new XEle 阅读全文
posted @ 2021-11-15 10:08 冰魂雪魄 阅读(470) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 15 下一页
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

WPF框架交流群:C#.net. WPF.core 技术交流�      C#WPF技术交流群:C#.net. WPF.core 技术交流�     WPF技术大牛交流群:C#.net. WPF.core 技术交流�
点击右上角即可分享
微信分享提示