2012年8月13日

C#读写文件操作

摘要: 读文件操作 List<string> list = new List<string>(); FileStream fs = new FileStream("E:\\Shuju.txt", FileMode.Open, FileAccess.Read); StreamReader sr = new StreamReader(fs,Encoding.GetEncoding("GB2312")); sr.BaseStream.Seek(0, SeekOrigin.Begin); string line = sr.ReadLine(); 阅读全文

posted @ 2012-08-13 14:32 诡异的Bug 阅读(125) 评论(0) 推荐(0)

关于C#中RichTextBox控件的用法

摘要: 好久没用了 突然间发现不会用了 今天用到 查了好长时间才出来 直接上代码private void timer1_Tick(object sender, EventArgs e) { for (int i = 0; i < 100; i++) { richTextBox1.AppendText("这是第"+i.ToString()+"行"+"\r\n"); richTextBox1.SelectionStart = richTextBox1.Text.Length; richTextBox1.ScrollToCaret();//用 阅读全文

posted @ 2012-08-13 14:21 诡异的Bug 阅读(555) 评论(0) 推荐(0)

2012年7月17日

新公司上班这两天的感觉!

摘要: 来到新公司有两天了,感觉还行。挺大 环境挺好 那个产品经理看上去还牛B的不行 虽然已经工作一年了 但感觉就是个0一切都从头再来吧 是时候踏踏实实的了 感谢上天给我这个平台 直觉告诉我 如果不出什么意外 那么我希望这是一个真正使我长大的地方。。。 阅读全文

posted @ 2012-07-17 21:02 诡异的Bug 阅读(97) 评论(0) 推荐(0)

导航