private void BtnUpload_Click(object sender, EventArgs e) { // open browse window to select file to upload CloudStorage.Cloud_Upload u = new CloudStorage.Cloud_Upload(); u.Owner = this; var ret = u.ShowDialog(); if (u.DialogResult == DialogResult.OK) { // Update File List this.GetFiles(); } }