private void GetProxyList() { string[] files = Directory.GetFiles(path, "*.dll"); IProxy pro = null; foreach (string s in files) { pro = GetPluginInterface(s); if (pro != null) { //采集代理地址并储存 pro.ProxyListHasGot += new ProxyListHasGotEventHandler(pro_ProxyListHasGot); pro.GetProxyList(); } } }