摘要:
在我们的程序中,经常会有一些耗时较长的运算,为了保证用户体验,不引起界面不响应,我们一般会采用多线程操作,让耗时操作在后台完成,完成后再进行处理或给出提示,在运行中,也会时时去刷新界面上的进度条等显示元,必要进,还要控制后台线程中断当前操作。 以前,类似的应用会比较麻烦,需要写的代码较多,也很容易出 阅读全文
posted @ 2017-07-19 17:57
幸福安康
阅读(303)
评论(0)
推荐(0)
摘要:
public bool ChangeConfig(string AppKey,string AppValue) { bool result = true; try { XmlDocument xDoc = new XmlDocument(); ... 阅读全文
posted @ 2017-07-19 17:39
幸福安康
阅读(3653)
评论(0)
推荐(0)
摘要:
Public void Add() { List lists = GetDataByFile(tempFilePath); private static readonly string sqlconnection = "Data Source=.;Initial Catalog=xxxx;Persist Security Info=True;User ID=sa;Passwo... 阅读全文
posted @ 2017-07-19 17:35
幸福安康
阅读(4831)
评论(6)
推荐(1)
摘要:
using System; using System.Collections.Generic; using System.Text; using System.IO; using System.Net; using System.Windows.Forms; using System.Globalization; namespace FtpLib { public class F... 阅读全文
posted @ 2017-07-19 17:27
幸福安康
阅读(205)
评论(0)
推荐(0)

浙公网安备 33010602011771号