摘要: 1 Sub EditCsvToXls() 2 Application.ScreenUpdating = False 3 '文件目录 4 ChDir "C:\Users\QA-Department\Desktop\test" 5 Dim sDir As String 6 Dim curdir As String 7 curdir = "C:\Users\QA-Department\D... 阅读全文
posted @ 2019-01-24 10:25 若青若墨 阅读(427) 评论(0) 推荐(0) 编辑
摘要: 1 /// 2 /// 导入Excel文件按钮 3 /// 4 /// 5 /// 6 private void InputExcelFile_Click(object sender, RoutedEventArgs e) 7 { 8 //将数... 阅读全文
posted @ 2019-01-07 17:52 若青若墨 阅读(999) 评论(0) 推荐(0) 编辑
摘要: 1 namespace ConsoleApp4 2 { 3 class Program 4 { 5 static void Main(string[] args) 6 { 7 Mum mum = new Mum(); 8 Dad dad = new Dad(); 9 ... 阅读全文
posted @ 2018-11-06 10:10 若青若墨 阅读(569) 评论(0) 推荐(1) 编辑
摘要: 1 namespace RemoveTheSame 2 { 3 class Program 4 { 5 static void Main(string[] args) 6 { 7 List list = new List() 8 { 9 new Use... 阅读全文
posted @ 2018-08-28 09:37 若青若墨 阅读(1260) 评论(8) 推荐(0) 编辑
摘要: 1 namespace 操作符重载 2 { 3 class Program 4 { 5 static void Main(string[] args) 6 { 7 Person person1 = new Person() { Name = "LiLei", Age = 12 }; 8 ... 阅读全文
posted @ 2018-08-23 11:57 若青若墨 阅读(325) 评论(1) 推荐(0) 编辑
摘要: 1 using NPOI.XSSF.UserModel; 2 using System; 3 using System.Collections.Generic; 4 using System.IO; 5 using System.Linq; 6 using System.Text; 7 using System.Threading.Tasks; 8 9 namespace 学... 阅读全文
posted @ 2018-05-21 10:35 若青若墨 阅读(247) 评论(2) 推荐(0) 编辑
摘要: 1 //乘法表 2 for (int i = 1; i < 10; i++)//行 3 { 4 for (int j = 1; j < 10; j++)//列 5 { 6 if (j <= i) 7 ... 阅读全文
posted @ 2018-05-19 09:50 若青若墨 阅读(301) 评论(0) 推荐(0) 编辑
摘要: 感谢会飞的鱼大牛~ 阅读全文
posted @ 2018-05-12 13:39 若青若墨 阅读(938) 评论(0) 推荐(0) 编辑
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Threading; 4 using System.Windows.Forms; 5 6 namespace 线程和跨线程 7 { 8 public partial class Form1 : Form 9 {... 阅读全文
posted @ 2018-05-02 16:34 若青若墨 阅读(1458) 评论(1) 推荐(0) 编辑
摘要: 第一种方式(需要引用VBScript RegularExpression 5.5类库) 第二种方式(无需直接引用类库,创建新实例) 阅读全文
posted @ 2018-04-08 13:57 若青若墨 阅读(7869) 评论(0) 推荐(1) 编辑