ArrayList myArrayList=new ArrayList();
public void DownloadWebData(string str1,out string str2)
{
str2=str1;
}
private void btnWebDownload_Click(object sender, EventArgs e)
{
string str1= " ";
string str2= " ";
object[] myObject=new Objcet[] {str1,str2}
myArrayList.Add(myObject);
}
private void exe()
{
for(int i;i <myArrayList.Count;++i)
{
myType.InvokeMember((string)arrayListFunctionLog[i], BindingFlags.InvokeMethod,myCustomBinder, myInstance,
(Object[])arrayListParameter[i]);
//其实就是调用这个方法DownloadWebData((string)myArrayList[i],()myArrayList[i])
}
} |