private void Button2_Click(object sender, EventArgs e) { FTPUpload upl = new FTPUpload(); upl.ShowDialog(); this.Close(); }
private void UploadToolStripMenuItem1_Click(object sender, EventArgs e) { FTPUpload u = new FTPUpload(); if (u.ShowDialog() == DialogResult.OK) { RefreshTree(); } }