private void btnOpenStorage_Click(object sender, EventArgs e) { var dialog = new OpenStorage(this); if (dialog.ShowDialog() == DialogResult.OK && filePath != null) { gbCurrentStorage.Visible = true; lblNoStorage.Visible = false; btnCloseStorage.Enabled = true; btnOpenStorage.Enabled = false; tbStatus.Text = ""; panStatus.Visible = false; } }