03 2022 档案
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.
阅读全文
摘要:using System.IO; string path = @"D:\accountDaoRu\"; if (Directory.Exists(path) == false) { Directory.CreateDirectory(path); } if (Directory.Exists(Ser
阅读全文
摘要:this.Close(); 只是关闭当前窗口,若不是主窗体的话,是无法退出程序的,另外若有托管线程(非主线程),也无法干净地退出; 2.Application.Exit(); 强制所有消息中止,退出所有的窗体,但是若有托管线程(非主线程),也无法干净地退出; 3.Application.ExitTh
阅读全文
摘要:具体如下所示: using System; namespace DotNet.Utilities { /// <summary> /// 农历属性 /// </summary> public class CNDate { /// <summary> /// 农历年(整型) /// </summary
阅读全文
摘要:想了解C#实现农历日历的方法的相关内容吗,在本文为您仔细讲解C#农历日历的相关知识和一些Code实例,欢迎阅读和指正,我们先划重点:C#,农历,日历,方法,下面大家一起来学习吧。 本文实例讲述了C#实现农历日历的方法。分享给大家供大家参考。 具体实现方法如下: //天干 private static
阅读全文
摘要:using System; using System.Collections.Generic; using System.Text; namespace ConsoleApp { /** * ChineseCalendarGB.java * Copyright (c) 1997-2002 by Dr
阅读全文
摘要:读取word文档得使用com组件:Microsoft Word 12.0 object library由于office的本不同,组件的版本也会不同,我电脑上装的office2007所以版本是12.0使用该组件提供的类和方法来读取Word文档首先在项目中添加com引用: 然后可以用Microsoft.
阅读全文
摘要:遍历密码算法 #include "iostream" #include "vector" #include "string" using namespace std; int findPwd(int deep, string parent); /*密码组成,有数字,小写字母,大写字母组成*/ sta
阅读全文
摘要:1. 前言 本文主要是基于Aviad P.的2篇文章:A C# List Permutation Iterator,A C# Combinations Iterator。分别介绍了如何遍历排列组合情况。使用的算法不需要额外分配空间,所以比较高效。 2. 实现 1 public static clas
阅读全文
摘要:如果你是一枚Coder,但是你不知道Github,那么我觉的你就不是一个菜鸟级别的Coder,因为你压根不是真正Coder,你只是一个Code搬运工。 但是你如果已经在读这篇文章了,我觉的你已经知道Github了。 正是Github,让社会化编程成为现实。 什么是 Github? github是一个
阅读全文

浙公网安备 33010602011771号