private void listBox1_DoubleClick(object sender, EventArgs e) { string filename = "";// listBox1.SelectedItem.ToString(); Dictionary <string, int> GetFtpList = FileUpDownload.GetFtpList("filename"); }
private void button1_Click(object sender, EventArgs e) { Dictionary <string, int> getFtpList = FileUpDownload.GetFtpList(""); }