07 2011 档案

摘要:1. 从文件中读出纯文本文件后放进RichTextBox或直接将文本放进RichTextBox中:private void LoadTextFile(RichTextBox richTextBox, string filename){ richTextBox.Document.Blocks.Clea... 阅读全文
posted @ 2011-07-21 09:25 liancs 阅读(706) 评论(0) 推荐(0)
摘要:[STAThread] static void Main() { //预防程序启动多个 bool flag=false; System.Threading.Mutex mutex=new System.Threading.Mutex(true,"getPiValueServerManage",o... 阅读全文
posted @ 2011-07-15 17:57 liancs 阅读(315) 评论(0) 推荐(0)