摘要: Form1中:一个lable1用来接受Form2中textbox1的信息,button1用来show出Form2 Form1中代码: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System... 阅读全文
posted @ 2014-08-29 23:29 逍遥帝君 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 1privatevoidopenFileDialogBTN_Click(objectsender,System.EventArgse){3OpenFileDialogopenFileDialog=newOpenFileDialog();4openFileDialog.InitialDirectory... 阅读全文
posted @ 2014-08-29 23:25 逍遥帝君 阅读(194) 评论(0) 推荐(0) 编辑
摘要: for(inti = 0; i i;j--) {if(listRemove[i] == listRemove[j]) { listRemove.RemoveAt(j); } } } 阅读全文
posted @ 2014-08-29 23:22 逍遥帝君 阅读(711) 评论(0) 推荐(0) 编辑
摘要: usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.Text.RegularExpressions;namespaceLinus.Fin.Public.StringLib{... 阅读全文
posted @ 2014-08-29 23:21 逍遥帝君 阅读(330) 评论(0) 推荐(0) 编辑
摘要: Actiona = () => { };this.Dispatcher.BeginInvoke(a); 阅读全文
posted @ 2014-08-29 23:20 逍遥帝君 阅读(151) 评论(0) 推荐(0) 编辑
摘要: xml是一种比较方便的数据储存方式,它适用于小数据的存储。最常见的适用地方莫过于各种web.config与app.config了。 一、创建一个简单的xml路径 public static string xmlPath = AppDomain.CurrentDomain.BaseDirectory 阅读全文
posted @ 2014-08-29 23:19 逍遥帝君 阅读(261) 评论(0) 推荐(0) 编辑
摘要: Source = new BitmapImage( new Uri( WangCaiConfig.GetCurrentDirectory() + imgStr, UriKind.RelativeOrAbsolute))this.PictureImage.Source =newBitmapImage... 阅读全文
posted @ 2014-08-29 23:18 逍遥帝君 阅读(1106) 评论(0) 推荐(0) 编辑
摘要: for(inti = 0; i i;j--) {if(listRemove[i] == listRemove[j]) { listRemove.RemoveAt(j); } } } 阅读全文
posted @ 2014-08-29 23:14 逍遥帝君 阅读(896) 评论(0) 推荐(0) 编辑