摘要: public static void main(String[] args) { long millis = 1492741275301L; Calendar calendar = Calendar.getInstance(); calendar.setTimeInMillis(millis); D 阅读全文
posted @ 2013-07-19 19:27 沧海一滴 阅读(658) 评论(0) 推荐(0) 编辑
摘要: demo1: /// /// 将字符串写入到txt文件 /// /// /// public void WriteTxt(string filepath,string contentStr) { if (!File.Exists(filepath)) ... 阅读全文
posted @ 2013-07-19 10:36 沧海一滴 阅读(224) 评论(0) 推荐(0) 编辑
摘要: demo1: /// /// /// /// /// 是否是追加 private void ShowOutput(string str,bool append) { if (this.txtOutput.InvokeRequired) { ... 阅读全文
posted @ 2013-07-19 09:42 沧海一滴 阅读(693) 评论(2) 推荐(1) 编辑